workflow and label

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

1 answer

This widget could not be displayed.

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')

Thanks for quick response.

I will try and let you know.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,509 views 10 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you