How to add request participants in a comment using automation?

Kim Edison Clemente March 10, 2021

I am creating an automation wherein I want to cancel a ticket and mention the request participants as a comment in the ticket. So far, I've accomplished the cancellation part while mentioning the request participants in the ticket was not achieved.

Here's my script:
Hi {{customfield_10020.value}} , this ticket will be cancelled for you are already informed.

The result was:
Hi  , this ticket will be cancelled for you are already informed.


Let me know if you have some inputs for my inquiry, I'm open for ideas.
Thank you and have a nice day Jira community.

1 answer

1 vote
Gideon Nolte [Jodocus]
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.
March 10, 2021

Hi Kim,

I recreated a rule like yours and got the commenting to work with:

{{issue.customfield_10020.displayName}}

Note: I assumed you use an user-picker type field. If not: Just remove '.displayName'

If you use a user-picker and want to spice up your comment a little by using an "@-Mention" that's possible with:

[~accountid:{{issue.customfield_10020}}] 

To find out more about how to use Smart Values I can recommend this reference, as well as this for user specific Smart Values.

Hope this helps.

Gideon

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