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: 

Smart Value to Tag Participants in Comment from Automation Rule?

CA Test
March 11, 2024

Hi all,

I'm looking to tag users in my automation rule that comments on issues that have not had a response for X days.

I need to tag both the reporter and the requested participants.

I am using [~accountid:{{reporter.accountId}}] to tag reporter which is working fine.

For participants I am using [~accountid:{{issue.Request Participants.accountId}}] which is just returning @User

What should the correct smart value be to tag all participants / watchers in on the ticket or is that not possible?

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Sebastian KrzewiƄski
Community Champion
March 11, 2024

Hi @CA Test 

 

Please try use:

{{#issue.customfield_10003}}[~accountid:{{accountId}}]{{/}}


You need to change Participants field id.

CA Test
March 11, 2024

Thanks @Sebastian KrzewiƄski 

I have made the amendment and will let you know if successful on next run.

Like ‱ Sebastian KrzewiƄski likes this
CA Test
March 12, 2024

Thanks @Sebastian KrzewiƄski . This worked as intended.

One super minor thing, when there are multiple participants there is no space between the tags. It has zero impact other than visually, is there any way to get the tags to space out if there are multiple? No worries if not.

 

Thanks again. 

Sebastian KrzewiƄski
Community Champion
March 13, 2024

Just add a space inside loop.

Bold parts of below smart value are responsible for loop. You can add inside everything what you want (spaces, commas, etc).

{{#issue.customfield_10003}}[~accountid:{{accountId}}]{{/}}

 

Regards,

Seba

TAGS
AUG Leaders

Atlassian Community Events