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}}, {{/}}{{/}}"
}
}
]
}
}