Versions Compared

Key

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

...

The original template solution implemented for JEMHCloud was too simplistic as there was only one place to add macros.  This  The global macros were shared between all template templates regardless of their look and feel.  SystemAll macros including System/Custom macros and all themes ended up being one big file including macros from all themes in one place, making it hard to maintain and extend.  We were aware of this issue and when we wanted to add a Service Desk theme - it was time to extend the solution. 

...

  1. Go to Notifications->Preview
  2. Select the Template Set you want to preview. It can be either system or a custom one.
  3. Select the Template Type to review either the html, text body or email subject
  4. Select a Preview Context. Preview  Preview Context is an example of an JIRA event containing the issue and its changes. You can create Preview Context from real events in Auditing -> Events
  5. Check if you want to convert wiki markup in issue's description and comments into html.
  6. Select your JIRA User recipient or leave it black to assume the recipient is an Email User. How  How and what is shown in an email depends on the recipient (like role description and privacy)
  7. Change the language if you want to test translations.
  8. Hit Preview

...

Info

JIRA theme's templates have been slightly improved.


Now, the $serviceJiraFields velocity variable holds the fields ids of the fields rendered in the email body. The variable can be dynamically updated through custom macros. 

Existing custom Template Sets and Themes have been patched (injecting old global macro content at the top of them). We highly recommend to revisit your custom templates.

 


...