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 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

496 views 2 5
Read article

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