Hi,
I'm trying to remove just a specific request participant when an automation runs. (As it interferes with another automation if the request participant is present).
Using the below JSON in the more options of the edit issue branch, all request participants are removed when the associated automation is ran. (no matter what is in the "name" field it deletes all request participants):
Is there a way to just remove a single recipient when this automation is ran? For example a user: abc@def.com?
{
"fields":
{
"Request Participants": [
{"remove" : {"name": "{{issue.assignee.name}}"}}
]
}
}
Hi @Conner Murowchick - you're very close!
I believe what you need is to use update instead of fields:
{
"update":
{
"Request Participants": [
{"remove" : {"name": "{{issue.assignee.name}}"}}
]
}
}
fields is a shortcut for calling update with the set operation
{"remove" : {"id": "{{issue.assignee.accountId}}"}}
Hi Darryl,
Thanks for the quick response! I was able to accomplish what I needed with the following:
{
"update":
{
"Request Participants": [
{"remove" : {"id": "{{issue.assignee.accountId}}"}}
]
}
}
Appreciate your help!
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.