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.
×I see how to add watchers, but I'd like to add "Request Participants" via an automation rule
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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}}"
}
}
]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.