Skip to end of banner
Go to start of banner

Display Jira Custom Field in Velocity Template

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

You want to show a custom field value in JIRA's (NOT Service Desk's!) notification mails. To achieve this, you need to create a new custom field for the field, and add that custom field to an email template. So, please try this:

  1. Create a new custom field
    1. In case of UPJ field: Create a new User Profile Field for the reporter's telephone number, as described in our product documentation.
  2. Update or create a new email template, as described in Atlassian's documentation.
  3. Add the newly created custom field to the email template of your choice, as described in Atlassian's developer documentation.
    The important code snippets are (remember to insert your own custom field ID):
    • The field's name: $issue.getCustomField("customfield_10000").name
    • The field's value: $issue.getCustomFieldValue("customfield_10000")

  • No labels