I want to control workflow transition (status to be moved) based on custom field value (whether checked or unchecked on Checkboxes). e.g. There are transitions from "Open" -> "In Progress" and from "Open" -> Resolved" and checkboxes (e.g. User Agreement). If "User Agreement" checkbox is checked, want to move from "Open" -> "Resolved". If unchecked, want to move "Open" -> "In Progress". In post function of a transition (Start Progress ("Open" -> "In Progress")), how can I configure Groovy script to realize this request? Please let me know Groovy script precisely. or, if there is another solution, please let me know it as well.
you don't need workflow post functions but workflow conditions.
Add two transitions:
Add a workflow condition to both transitions:
In this workflow condition check for the status of your user agreement checkbox, so that only one of these two transitions is shown to the user.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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