The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add request participants in a comment using automation?

Kim Edison Clemente
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Gideon Nolte _Eficode_
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 Champions.
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events