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