Hi,
We have to make a jirta workflow.In the requirements it states the below:-
1.Need to have a "assign-back" transition button visible to the assigned user.
2.If a user "x" assigns a task to "y",then "y" should be able to click this back button and auto assign it back to the previous user.
However this user wouldnt belong to a special group or something that we can use to assign.Please let me know if anyone has any ideas.
This can be achieved by using the Assign to last role member function on Jira Misc Workflow extension plugin.
Also have a look at this documentation for details
Rahul
Even after doing this i see the same options in the post func of a transition in a workflow.It hasnt got the assign to last user as stated even in the document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would say, this can be achieved even without any plugin. Please follow the below steps;
1. Add a custom field ( user picker), say ‘Pre User’. No need to add this field in to any screens.
2. Edit your workflow transition ( ‘assign back’) , go to the workflow post function of this step
3. Click on Add a post function and select ‘Copy Value From Field to Field’ post function. In the next window, choose values so that the source field will be ‘assignee’ and destination field will be ‘Pre User’. Make sure that you check the field ‘Use value before current transition’ in this window.
4. Now you have kept the previous username in the custom field ‘Pre user’.
5. Similarly, edit the transition ‘ Return’ ( or whatever you added for the user Y to move it back to the last user) and add a similar post function. This time you select ‘Prev User’ as source and ‘Assignee’ as destination field.
Hope this is clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks guys.Issue is i am using ver 5.2.4 and even updated the plugin as said above.
I dont get an option to assign to last user in the post function of the workflow.I hope i am clear to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think that the above mentioned plugin has 'assign to last user' post funtion. But it has 'assign to last user in project role' option. Still I recommend my suggestion as I have implemented similar workflow transition in our JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The thing is i have a transition "assign-back".i want to add in the post function a condition that states that when a user clicks this button the task would get assigned back to the user who assigned it to him.however in the post func i see options like ASSIGN TO REPORTED,CURRENT USER ETC.none gives the option to assign to the former user.
Also i am unable to understand your first comment.Could you please elaborate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay.. edited the above comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great !!!. I am aware of that module. But which is more role specific.
So it may fail in some situations. Not sure about how you have configured project roles. In my case it didn't work. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vishnu,
Thanks a lot.Also i found that we could inface do it the way suggested by rahul.The issue was one of the modules in the plugin was disabled and hence i wasnt getting this option.Now its fine.Thanks a lot for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to know that it worked :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
However this worked for me vishnu.
Also there was a requirement that this button shouldnt be seen bythe user who is the part of the workflow.Fixed that using a script post function.Worked like a charm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.