Using JQL for Reporter/Assignee in Notification

Lydia M April 18, 2023

I've successfully created an automation which sends a message to the Reporter of an issue to create an assignment for the Assignee of the issue, however, the names do not display in the email. I know I have the JQL wrong, but can't find how to correct it.

Here's what I have:

Hi {{reporter}},

Your audio request {{issue.key}} is being edited! Please create an assignment in PSA for {{assignee}} so they can bill their time.

Thank you,

This is what I'm getting:

Hi 5bb270c59ba2930990f80b30,

Your audio request AUDIO-1878 is being edited! Please create an assignment in PSA for 557058:51463bee-ed0e-4065-81e7-1c4ce9851382 so they can bill their time.

Thank you,

So clearly it's displaying the code for the user name instead of the user name. I'm sure it's pretty simple, so I hope someone can help. 

Thanks!

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.
April 18, 2023

Hi @Lydia M 

Please try using the displayName attribute for user fields, such as with {{issue.reporter.displayName}} : https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/

Kind regards,
Bill

Lydia M April 18, 2023

Thanks Bill! 

I actually continued digging and found the glorious Smart Values page. I'm living for this!! 

Like Bill Sheboy likes 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