I have a custom field called "Change Type" with 4 levels as values (Level 1, Level 2, etc.). The values are set through automation based on the input from two other custom fields.
How can I associate a separate workflow to each of the Level values of my custom field?
Level 1: Workflow A
Level 2: Workflow B
Level 3: Workflow C
Hi Pete - The quick answer is that you can't. Workflows are exclusively associated with Issue Types. So you would have to change the value of the Issue Type, but that can only be done by a Move if the issue types are associated with different workflows.
"Move" is not a trivial change of type, unless the two types have the same configuration. The configuration that matters includes the workflow.
There are some apps that can change issue type, but you have to do a lot of work replicating the migration processes within them, especially when the workflows are different.
I do not think this is the answer to your problem, I think you'll have to go with the branching workflow, controlled by conditions.
@Nic Brough _Adaptavist_ , @John Funk FYI Bob Swift responded back with a positive. I don't know if you will be able to view this video or not due to permissions but here is link demoing the process.
"Yes, you can change the issue type based on the custom field value through a post function upon issue transition.
Once the issue gets transitioned to another, based on the custom field value the issue type is changing, please refer to the below Snagit video for the same."
So I will experiment with it today and see what happens. Since my custom field is calculated prior to creation of the issue possibly I won't have much to do with updating statuses etc.
Hey Pete - I can't access the video. But I still think it depends on whether the the issue type you are changing to uses the same workflow as the current value of the issue type. Yes, you can change those with no problem.
But if they are different, then I am pretty positive that it will take a Move function. You might ask Bob the more pointed question as such.
Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...
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