...
The Comment Header allows you to prefix specific content onto comments when they are processed by JEMHC.
Creating a
...
Content Header template
Comment header content is create and modified through the use of a template. Templates are found within Notification > Template Sets.
...
Within the Profile you are also able to set when the Comment header Content Header should be applied whether you would the comment header to be applied for only and for the scope (email users and or for email users and Jira watchers. This configuration is found within Jira users). See Profile > Project Mapping > Issue > Comment > Comment Header Mode
...
Content Headers
Available options are:
Inherited
Don’t add header
Add header for email users
Add header for email users and Jira watchers
Headers are not added for Jira users/reporters as the ‘user’ object that creates the issue and/or comment clearly identifies who is making the comment.
...
Example Content Header
Once you have the comment header configured you will then see that new comments will have the new comment header applied.
...
This will allow you to see how your template will render when in use, given the example Preview Context shown on this section.
Preview Context data
...
Code Block |
---|
{
"from": "from@someUser.com",
"fromPersonal": "Johny User",
"recipients": [
"to@aUser.net",
"and@anotherUser.net",
"support@thisCompany.net"
],
"subject": "The subject",
"body": "This is the body with some i18n characters @Техническая проблема= some value",
"bodyFormat": "text",
"timestamp": 1552055974959,
"catchEmailAddresses": [
"support@thisCompany\\.net",
"support.*@anotherCompany\\.net"
],
"matchingRecipient": "support@thisCompany.net",
"matchingCatchEmailAddress": "support@thisCompany\\.net",
"isJiraUser": false
} |
Preview Context data is specific to the context in which your template is used and is available at render time. From the example above we can see that the context for an incoming email shows the address from which the email was sent, and the intended recipients.
...