We use labels for lot of things to dictate where the story is being worked on.
If I have a Label "In-Dev-Progress" on one of the ticket, I dont want anyone to click on "Ready for QA" button on the top. The button becomes clickable only when the Label is changed to "Dev-Complete".
Can Labels be used inside workflow to decide the outcome?
Thanks
A
You can add Script condition (from Script runner add-on) to check if the issue has specified label and return false if it contains the In-Dev-Progress label
And here's the code:
!issue.labels.collect{it.label}.contains('In-Dev-Progress')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.