Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow statuses depending on a field value

Oleksii Filiaiev September 24, 2019

Hi everyone,

Can you please assist me with the case::
I have a workflow with two mutually excluding statuses. Meaning only one of the two statuses can be used. There is a field which can take values 'required' and 'non-required'. For a ticket with 'required' workflow goes to status 'approval' and for 'non-required' it goes to 'development'.

Please share your thoughts on how can I configure it?

1 answer

1 vote
Jack Brickey
Community Champion
September 24, 2019

so you will need two statuses AND you will need unique transitions. in other words you can't have a single transition auto-direct to the end status based upon a fields value. Now you can, and should) add a Condition to each transition to ensure that the proper field value is set when transitioning. Example

Status: Approval, Transition = Request Approval, Condition - custom-field = Required

Status: Development, Transition = No Approval, Condition - custom-field = non-required

Oleksii Filiaiev September 25, 2019

Hi Jack,

Thank you for the reply.

I have two statuses and two different transitions.
Do you think I can present only one transition option on a screen depending on a field value?

Jack Brickey
Community Champion
September 25, 2019

One thought comes to mind using an addon for automation or scripting...

create a status, say “approval assessment” with a single transition “approval”. The user transitions the issue to this status. Using the addon, trigger a rule that when transitioned into this status the next transition is done based upon the value. This would be easy using Automation for Jira and expect the same for other addons.

Oleksii Filiaiev October 1, 2019

Thanks. This could work. But unfortunately isn't suitable for me.

I must have statuses 1, 2, 3, 4a/4b, 5a/5b, 6, 7, 8.
For a/b statuses the decision is made based on a Field with possible values A, B, C.
IF A then 4a-5a path  ELSE 4b-5b path.

Any ideas? May be some scripting? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events