Smart Value to Tag Participants in Comment from Automation Rule?

Coffee_Donuts 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

0 votes
Answer accepted
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 11, 2024

Hi @Coffee_Donuts 

 

Please try use:

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


You need to change Participants field id.

Coffee_Donuts 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
Coffee_Donuts 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events