In my project we create a separate "Test" (Zephyr) issue for every "regular" issue (Task, Bug, etc..).
In our customized workflow there is only one transition that moves the status to "Done", and I want to add to it a condition, that allows moving to done *only* if the related test issue (if exists) has status "Done".
I found that I need to write a "Script Condition" in groovy, but it would be very helpful to me if you could give some advice as to how I get this thing to work.
You need to put the script in the validation section of the transition.
Here's an exactly same question as yours -
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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!
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