The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Plug a custom notification template in a plug-in

Tam Nguyen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 26, 2011

Are custom notification templates plugable? i want to make my plug-in more configuration independent, so i don't want to manually modify Jira core. It was impossible to put custom templates in plug-in but how a bout new version?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Deleted user
October 26, 2011

I don't think you can make the templates 'alone' pluggable, however, the overall idea isn't impossible. You could put an event listener in your plugin, to catch the custom event and provide user (admin) plugin configuration support to modify the template which you can take on responsibility for rendering. I achieve this kind of configuration in the Brightidea JIRA Connector (see config screen). Your code would have to render your template, create an Email, locate a SMTPMailServer and send it. Naturally whne you update your plugin you'd need to manage updating the template...

Deleted user
October 26, 2011

customization vs development vs manual effort, always a trade off!

Tam Nguyen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 26, 2011

Thank you Andy, actually i thought about that solution as well, but it takes time and effort to implement. At the mean time i think i should do manually.

TAGS
AUG Leaders

Atlassian Community Events