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?
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...
customization vs development vs manual effort, always a trade off!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.