Need help with Groovy Script

vamsi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2018

If issuetype = Task ,make Label field Mandatory. need groovy script to add this as validator in workflow

1 answer

0 votes
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2018

Hello @vamsi

Try simple scripted validator like this

!(issue.issueType.name == 'Task' && issue.labels == null)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events