Transition condition branching

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2011

Hi,

is it possible use in workflow transitions something like condition branching?

Example:

If value of some issue field is X, than execute this set of post functions, otherwise use another. I need in Issue Create Step (for sub-task) populate new issue with some specific values based on parent issue field value.

2 answers

2 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2012
0 votes
Maya S Chase
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2012

There is no if-then-else conditional branching in JIRA, but you can get it to make decisions after a fashion. The Misc Workflow Extensions (https://plugins.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions;jsessionid=debunrvawbz91vo33ygxdzne2) give you capabilities like "you can only do this transition if field X has been modified), or "you can only do this if the multi-value field has only one value". So, if you can set your field up so that it allows transition A or transition B, then your post functions are specific to the transition ...

There's probably some scripting magic or DIY plug-in that would allow more flexibility, but that's the best option I can think of that will give you something you can do quickly.

Suggest an answer

Log in or Sign up to answer