I have the custom field I want to add the field to the email and make the hyperlink that is sent not a hyperlink just and ID?
Im not clear on the circumstances of where the CF is created, and when it is to be included/converted?
If you are trying to add a specific field to the email, you need to modify a velocity template. You have two choices here, either (a) Use core JIRA notifications and modfiy core JIRA templates (and restart JIRA every time), or (b) Use JEMH IssueListener and JIRA notifications (that selects the JIRA notification scheme, rather than the project doing so) and TemplateSets to customize the content (no restart needed).
I am evaluating JEMH, what I want to do is modify the velocity template to have some of the custom fields I created sent with the automated email that JEMH is sending. I have never worked with velocity before and it is not a language that I have been able to quickly pickup unlike other programing languages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, Velocity is pretty simple, its not a programming language, mostly its concerned with getting values of its 'context' (environment variables if you like), and injecting them into the template.
There is some background reading to be done:
- http://velocity.apache.org/engine/devel/user-guide.html (I refer to this often)
- https://confluence.atlassian.com/display/JIRA/Customising+Email+Content
- https://answers.atlassian.com/questions/82337/jira-e-mail-template-customfield-options
All standard velocity context parameters are available in JEMH TemplateSets.
See the following tutorial for how to get non-jira users notified by email. It goes through the creation of a custom IssueEvent TemplateSet, and the configuration of the JEMH IssueListener required to broadcast the notification. The process of configuring Non-JIRA user notification is similar to JIRA user notification. The key thing to note is that if JIRA user notification is required, then the JIRA Project must have their 'notification scheme' selection disabled to stop duplicate notifications.
If you need specific support to work through the configuration after reviewing the above, please raise an issue: https://studio.plugins.atlassian.com/browse/JEMH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.