I see how to add watchers, but I'd like to add "Request Participants" via an automation rule
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
I tried the above, and it does not work.
@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}}"}}]}
@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.
It looks like you're new here. Sign in or register to get started.