Request Participants

David Bidle May 31, 2024

 I have automation that sets specific users as request participants to email generated issue. However the request participants that are added via email are being overwritten and I want to just append to the list. I have tried copy from issue but that's not working. Anyone have any path forward?

3 answers

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

Hi @David Bidle,

Welcome to Atlassian Community!

In order to add users to the request participants field without overwriting the existing ones you have to use the advance option, something like this will do it:

{
"update": {
"Request participants": [{
"add": {
"id":"<atlassianId>"
}
}]
}
}

Note that you have use the atlassian Id for the user that you want to add. 

David Bidle May 31, 2024

 Unfortunately, the users being added are external to the JIRA instance and I'm not able to find their atlassianIds to add them in this manner. 

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

You can, every user get an Atlassian Id, even external customer. All you need to do is use the Find users endpoint and if you know the email address the call would look something like this:

https://your-domain.atlassian.net/rest/api/3/user/search?query=mikael.sandberg@email.com

This will return the user's profile including the accountId which you then use to add them to the request participant list.

David Bidle June 3, 2024

@Mikael Sandberg Thanks! This worked

Like Mikael Sandberg likes this
0 votes
David Bidle May 31, 2024

I also can't find the smart value for  the request participants field. That may be helpful

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events