Adding 'Request Participants' using Automation?

I want to create a rule using the automation plugin to add a user to a ticket given a specific criteria is met. I've set up an "edit issue action" and have tried the following code:

Request participants=jsmith

Hoping to have the user with username 'jsmith' appear in the request participants field. I suspect I may be using the wrong syntax for the "Request Participant" field.

Is there a document showing rule construction anywhere? I can't find one. What am I doing wrong?

2 answers

1 accepted

I suspect you need to get the underlying field. The easiest way to determine the ID is to go to Issues > Search from the top menu, make sure you are in Advanced mode for querying, and start typing "Request Participants". As you type, the field should appear in the drop down, with a cf[nnnnn] next to it. That is the id to use in $customfields.get(nnnnn) to get the value, or customfield_nnnnn to set a value.

Hi @Conor Mullen,

a working alternative would be using the Collective Issue View for Service Desk plugin. With the plugin you can set automatically participants based on the ticket 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 yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

54 views 0 2
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