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

1 votes
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,139 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot