I am getting started with JIRA automation and looking at sending emails to requestor and other stake holders when a story transitions to different stages.
I am looking the syntax I can use for merge fields in the email templates.
For example I would like to include the name of the person that a story has been assigned to. If I use {{assignee}} I don't get a name but a rather long GUID Code.
If there somewhere that all merge fields are listed with their relevant syntax so I can get the correct values into my email templates?
To get the name rather than the ID, please try: {{assignee.displayName}}
For a complete field, behavior, issues... list, there really isn't anything like that yet. These two sources are a great start, with notes in the comments for additions:
https://www.atlassian.com/software/jira/automation-template-library#/label/all/1453
And, when you wonder if a field has a smart value, or its specific syntax, please try making a call to the REST API with an example issue to see the resulting JSON:
https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.