Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation - add Request Participants

Steven Mezzadri November 5, 2024

I see how to add watchers, but I'd like to add "Request Participants" via an automation rule

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2024

Hi @Steven Mezzadri

You need to use the edit action on the Request participants field.  The value needs to be an Jira Account ID in order to work though.

Regards,

Fabian

Steven Mezzadri November 6, 2024

jira.jpg

I tried the above, and it does not work.  

Steven Mezzadri November 7, 2024

@Fabian Lim - what format does the account ID need to be in?

I've tried my username and my full name.  Maybe I have the wrong JSON information?  I'm using:

 

{
"update": {
"Request participants" : [
{
"add": {
"name":"{{~MezzadriSt}}"
}
}
]
}

Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2024

@Steven Mezzadri You have to get the user's account ID. 

If it's fixed it should be easy, go to the user's profile and get the ID. It should be the long digit number in the URL. 

Now, you can also get this information from a Jira's user custom field.  And then user smart value like: {{assignee.accountId}} or {{customfield_xxx.accountId}}

Link: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/

It all depends on how you identify who needs to be added.  Then no need to use JSON, just add the smart value to the edit action and choose "Request Participants" field.

Regards,

Fabian

 

TAGS
AUG Leaders

Atlassian Community Events