Automation to add multiple request participants from assets

Gerrit Wahlers
Contributor
March 5, 2025

If a user creates a ticket and chooses a department, all department managers should be added as request participants.

1 department can contain up to 5 employees in the attribute "manager". (1:n)

Every employee has one linked jira user in the attribute "Jira User". (1:1)

For a single manager, this "edit issue" step is working, but if a department has multiple Managers, i get the error "Inactive User". It seems the syntax of the list is wrong.

I use the edit issue-function with this JSON:

{
"update":{
"Request participants" :[
{
"add": {
"id":"{{#issue.customfield_10294.Manager}}{{Jira User.ID}}{{^last}}, {{/}}{{/}}"
}
}
]
}
}

2 answers

0 votes
Stephen_Lugton
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 5, 2025

Hi @Gerrit Wahlers 

Probably a silly question, but have you checked to make sure that one of the managers you're trying to add isn't actually an inactive user?

0 votes
Gerrit Wahlers
Contributor
March 5, 2025

I tried this, but it does not help either:

{"update": {
"Request participants": [
{{#issue.customfield_10294.Manager}}{"add": {"id":"{{Jira User.ID}}"}}{{^last}},{{/}}{{/}}
]
}
}

Source: Add/Update/Remove Request Participants using Automation | Jira | Atlassian Documentation

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