Automation for JIRA - Request Participants

John Elnaugh
Contributor
January 9, 2018

Hello All,

 

I appear to have some configuration issues with the following automation:

I am using Automation for JIRA (Full) to add participants, however at the moment it appears to be clearing the values and substituting the ones in the configuration instead of just adding the values to the field.

I have attempted to use advanced field configuration, however this has just cause the entire field to be purged on issue update.

Here is the advanced field configuration:

{"update":{"customfield_10103":{"add": {"name":"username"}}}}

 

Thanks in advance.

2 answers

1 accepted

0 votes
Answer accepted
Scott Harwood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2018

Hi John,

Your advanced configuration is slightly wrong, it is missing the [ ]. 

{
    "update": {
        "Request participants": [
            {
                "add": {"name":"username"}
            }
        ]
     }
}

The above should work. 

Cheers,

Scott 

John Elnaugh
Contributor
January 10, 2018

That has done the trick, much appreciated, thank you!

Miri Alexeichick March 24, 2023

hi 

question

if i want to add the the request participants the approver(from the approver field) , what do i need to change in the jql?

0 votes
Andreas Lärkfeldt
Contributor
March 5, 2021

I've written a guide on how to fix the original issue (mentioned on top):
https://community.atlassian.com/t5/Jira-Service-Management/Remove-quot-Request-Participants-quot-using-Automation-rule/qaq-p/460812#U1630417 

 

In short terms - you should not use "name", you must use "id".

 

I hope that helps! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events