The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script Help

Alyson Briscoe
May 14, 2020

Hi There 

 

im trying to do a script for cloning an issue when a one of 2 values is selected from a drop down custom field 

I cant seem to get the script correct - could anyone help?

 

result=true

if (cfValues['Does this ticket require any further action or monitoring?'].getValue() == "Yes, monitoring is required")

if (cfValues['Does this ticket require any further action or monitoring?'].getValue() == "Yes, a permanent fix is required")  {

result= false;

}

return result;

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.