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..
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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