Looking for a list of merge fields for JIRA Automation Emails

Chris Deutschmann February 19, 2021

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?

 

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2021

Hi @Chris Deutschmann 

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://community.atlassian.com/t5/Automation-articles/Jira-Automation-all-the-resources-you-need-in-one-page/ba-p/1388465

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

Chris Deutschmann February 19, 2021

Thanks Bill,.  Exactly what I needed.

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events