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:
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?
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.
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot