I have designed a work flow that contains many steps: How could i assign different users to each step in order to get automated issue tracking for example:
First assigned to User 1 then User 1 flag it as Done, so it will be assigned directly to user 2 and this go through user 3 and 4 till reach finally to User 5 then it come up to me.
The most straightforward way is to use post-functions to change the assignee as the status changes.
You'll need to think about
I get to my Work FLow / Post function and i did not find anything about assign user to transition, i found only
Set issue status to the linked status of the destination workflow step.
Add a comment to an issue if one is entered during a transition.
Update change history for an issue and store the issue in the database.
Re-index an issue to keep indexes in sync with the database.
Fire a Generic Event event that can be processed by the listeners.
That's the current list of post-functions on the transition. Edit the workflow, go to the transition and click "add". You'll find you can add things like "set field".
But you'll probably want something more complex than "set assignee to fixed person", and as Mario says, the JSU adds a load of options to the list of post-functions you could add.
Remember, if you are assigning to users you will need to update the workflow when (and it will happen) they leave the company or assignment they currently have. A safer way would be to create project roles and assign just the one person to the role and then assign the issue to that role. See https://answers.atlassian.com/questions/240849
Adding into what Nic and Mario have said here, I am thinking about how the user for each step can be defined without hard-coding into the post-function of the step.
I'm not sure if JIRA has any other field than Components that allows mapping a value to a user so that we can use in this situation.
So I believe if you haven't used Components as yet, you can add value representing each step into Components, along with a user (to be Component lead). Then in the post function of each step, you can just need to set the Component to the corresponding step and Assignee = Automatic. JIRA will assign the Assignee to the corresponding Component Lead you have defined..
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