I have a workflow : Open -> In Progress -> Completed -> Closed
I have a workflow status that transit from In Progress to Completed. I have 2 user groups : Labs Managers and Engineers. The Engineers will set the issue status to Completed from In Progress and it is suppose to route to the Lab Managers group, And the Lab Manager suppose to set the status from Completed to CLosed. There are different groups of lab managers and engineers. So depending on one of the value on the Issue field, it should route to different Lab Managers to closed it. How do I configure such things in Workflow?
I am a bit confused about 2 user groups. You said that there are 2 users groups but in the end of your question you said there are defferent groups of lab managers and engineers. If you meant that you can divide users into Labs Managers and Engineers but there are multiple groups of users for Labs Manager and multiple groups of users for Engineers then you should define 2 roles in your project Labs Managers and Engineers. Then in the transtion from In Progress to Completed transaction you should set the User In Project Role condition to Engineers. In the Completed to Closed transition you should set the User in Project Role condition to Lab Managers.
If I understood your requirement correctly then it would do the trick.
@Mike Lee, routing is a generic term but expect you mean assign. I will see if I can offer a solution.
In JSD agents typically work issue via Queues. I would suggest that your two groups (Lab manager, engineers) would equate to separate queues.
based upon what you stated I would define the queues as follows:
Engineers: status in (Open, "In Progress")
Lab Managers: status = Completed
Completed: status = Completed
Now w/ that let's look at one other piece of your question "depending on one of the value on the Issue field, it should route to different Lab Managers". If in fact you want different lab managers to be assigned the issue based upon some custom field there are two approaches.
there are potential alternatives to achieve #1 w/o add-on but it depends on details and gets a bit messy IMO.
Thanks for all your answers. Maybe let me ask it simpler.
How to add logic in a Workflow transition (In Progress -> Completed) so that it can assign to different user?
Logic -> Check the custom field Country and assign to different user.
If Country = 'USA', then the Assignee = 'John'
If Country = 'England', then the Assignee = 'David'
If Country = 'Japan', then the Assignee = 'Hiroshi'
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot