Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Change global custom macros

  1. Go to Notification -> Custom Macros -> Edit. 

  2. Add the following script updating the list as necessary. 

Code Block
## 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'])
## Adding field customfield_10000 and Sprint to HipChat themes
#set ($hipChatJiraFields = ['issuekey', 'issuetype','status','assignee','created','updated','priority','reporter', 'security','customfield_10000', 'Sprint'])
## Adding field customfield_10000 and Sprint to Slack themes
#set ($slackJiraFields = ['issuekey', 'issuetype','status','assignee','created','updated','priority','reporter', 'security','customfield_10000', 'Sprint'])

Screen should lookImage Removed

...

Once saved, it can be testing by using the Preview tool:

  1. Go to Notification -> Preview 

  2. Select either Issue Created JIRA or Issue Create Service Desk template

  3. Select a preview context

  4. Hit Preview

The email now includes the custom field customfield_10000Image Removed

...

 

Info

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.

Filter by label (Content by label)
showLabelsfalse
max5
spacesJEMHC
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel in ( "howto" , "jemhc" , "template" ) and type = "page" and space = "JEMHC"
labelstemplate jemhc howto
Page Properties
hiddentrue


Related issues