Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,304
Community Members
 
Community Events
168
Community Groups

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

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

Atlassian Community Events