JIRA and Service Desk system templates includes the most common fields (issue type, assignee, created date, etc) in the bodies of each create notification. The fields that are included can be changed without creating new custom templates. It can be done by updating the global custom macros.
Step-by-step guide
Change global custom macros
- Go to Notification -> Custom Macros -> Edit.
- Add the following script updating the list as necessary.
## Adding field customfield_10000 to Jira Themes #set ($serviceJiraFields = ['issuetype','assignee','created','updated','priority','reporter', 'security','customfield_10000']) ## Adding field customfield_10000 to Service Desk Themes #set ($serviceDeskDetailsFields = ['status','issuetype','summary','description','customfield_10000'])
Screen should look
Once saved, it can be testing by using the Preview tool:
- Go to Notification -> Preview
- Select either Issue Created JIRA or Issue Create Service Desk template
- Select a preview context
- Hit Preview
The email now includes the custom field customfield_10000
This change is a global and it will reflected in all system templates. It is the simplest way to add the field. If you need more customization, please visit How-to Create custom Theme and Template Sets.
Related articles