Action to add Request Participants - Automation for Jira add-on

Is there any plan to be able to add Service Desk Request Participants as an action?

Thanks!

1 answer

1 accepted

Accepted Answer
1 vote
Nick Menere Community Champion Mar 06, 2017

Hi Jenifer,

You can do this in Automation for JIRA with the "Edit Issue" action using the advanced field. We haven't got to adding it as a nice field yet but we are working on it.

Simply use something like this in the advanced section:

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

 

Substitute admin for the username of the person you want to add. You can also use smart values here to add users from a custom field or action.

 

Hope this helps.

 

Cheers,

Nick

Nick,

How do you add multiple request participants in the advanced section?

Laura

Nick Menere Community Champion Jul 05, 2017

Hey Laura,

This should work for you:

{
    "update": {
        "Request Participants": [
            {
                "add": { "name": "admin" }
            },
            {
                "add": { "name": "scott" }
            }
        ]
    }
}

Cheers,

Nick

That worked. Thanks Nick!

Nick,

I have one issue, if the Reporter is the same as the Request Participants I am trying to add the automation task fails.  So I have a list of 4 people that are added as request participants to every ticket that meets certain criteria.  Is there a way for it to continue even if the reporter is the same as the request participant? Or will I have to create rules for each of those instances?

Laura

Laura, for what it's worth, I solved same problem by adding participants in the ScriptRunner postfunction, where I check and do not add the reporter.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,714 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you