In a JIRA workflow, I would like to automatically execute several transitions one after the other when a certain condition is triggered. How can I do that ?
I have set up a Jira workflow that includes the following statuses
- ToDo
(new issue)
- Ready
(work planned)
- InProgress
(ongoing work)
The normal course of action is to go from ToDo
to Ready
(is ready
transition) and then from Ready to InProgress
(start progress
transition).
Whatever the current status (ToDo
or Ready
) of the issue, I would like to move it to InProgress
when a branch is created in Bitbucket or a commit is created. That means that if the issue is in the ToDo
status, creating a branch or adding a commit should automatically execute is ready
and right after that start progress
.
Note that I do not want to create any additional transition straight from ToDo
to InProgress
.
I have tried setting the branch created
and commit created
triggers on both is ready
and start progress
. But the best I achieve is to execute a single transition.