Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need Multi-Select Custom Field Values to Trigger Clone Issue- Script Runner Post Function

Alyssa Priddy March 28, 2018

I have two custom fields and specific values I need to be in those fields to trigger the cloning of a new issue within my project. But when I use my script:

 

((Map) issue.fields.issuetype)?.name == 'System Disposition'  && ((List)issue.fields.customfield_13601)?.collect { it.value }?.any { it == 'Retire' } &&  ((List)issue.fields.customfield_14403)?.collect { it.value }?.any { it == 'OCIO' } && ((Map) issue.fields.status)?.name == 'Done'

 

 

I get an error...Capture.JPG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events