Export API

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Posts: 1
Joined: Jan 17, 2019 4:10 am

Export API

Post by Jan_K »

Is there API or different possibility in Mantis to export event/message out of Mantis based on trigger ?
- someone will create bug report
- based on trigger the "bug is created" - automated message is send out from Mantis in predefined format ?
- type and conditions of trigger and message format should be custom modificable

Didnt find enough info in doc or forum so creating new topic if someone will help me to know. Tnx, Jan.

Site Admin
Posts: 7736
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Export API

Post by atrol »

Out of the box, there is just the standard notification mechanism.
E.g. this would allow you to configure Mantis in a way that a certain access level (e.g. MANAGER) would get a standard notification email whenever someone creates a new bug report.

If you need more complicated rules or configuration of the content of the notification, you would have to write a plugin that catches event EVENT_REPORT_BUG.
For more details about plugins and the event copncept, read the Developers Guide https://www.mantisbt.org/docs/master/en ... ev.plugins
Please use Search before posting and read the Manual

Post Reply