Given: There is a story with a sub-task on Active Spring Board.
When: I move the sub-task to Done status, Jira asks me if I want to change status of the story to Done too.
Then: I click "Cancel" but the story status is changed to Done anyway
Hi Dzmitry - Welcome to the Atlassian Community!
That seems to be a bug I have heard about before - that once you click on a transition, then it is going to perform the transition, even with a Cancel.
So you might put a validator on the transition to check to see if the field you are putting the Yes in has a value or not. That way the transition can't complete if the value is not Yes.
Sure - Go to Settings > Issues > Workflows
Search for the workflow that needs to be changed and select edit.
Then change the view to the Diagram view.
Click on the line (this is the transition) going to the Done status.
This will pop up a box on the right side. There you can click on Validator.
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events