Hi all, we have one automation where on ticket create it adds a certain request partipant based on certain values.
Now someone wants another automation where based on other values it adds a request participant on creation.
I find that instead of adding though, it re-writes over it. So I tried to add a "re-fetch" of the issue in the second automation and "copy from issue" on the Automation Request Participant field so that it "copies and fetches the current". But it seems like even with the re-fetch it doesn't mean the second automation will run first, and so it still gets written over.
Should I update the original automation too with a re-fetch or "Copy from issue" or is there a better way to just add these request participants without wiping the list.
Cheers!
Hello @Calvin
If you want to "add" Participants, instead of overwriting them, you need to you use advanced edit section and provide ID to add using JSON.
This applies to all rules which are trying to add to existing list of users.
Please see this section == LINK
Hope it helps. Thanks!
Snippet:
The request participants field for Jira Service Management must be in a certain structure. For example, to add the last commenter of the issue to participants:
{
"update": {
"Request participants" : [
{
"add": {
"id":"{{issue.comments.last.author.accountId}}"
}
}
]
}
}
Thanks Kalyan, it does indeed :)
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.