Hi All,
I have the below workflow. I have a requirement that I need to fetch the user who performs "In Progress" Transition (or) the assignee when in In Progress status
I need that user as the assignee when the issue is moved to Closed status.
This can be achieved as post function but the challenge is there are other users who will be the assignee of Verification Done and Ready for Review status. How do we fetch the previous to previous assignee?
Or Technically how to
I have scriptrunner but even the post function "Assign the issue to the last role member" will not meet my requirement.
Please suggest me your ideas. Thanks in advance.
Hi @Mohan Sundar ,
You can copy the assignee of "In Progress" to a custom field, then assign issue to that field wherever you want.
Add a user picker custom field to your project.
Add a post function to In Progress transition, which copies the assignee to the new field (You'll need to have JMWE add-on, or JSU)
Now you are able to assign issue to that user-field using workflow post function.
@Parvaneh Zand Many thanks for the reply. This is what my thoughts exactly and wanted to implement this as the final option. But meanwhile I was looking if there is any straight forward way on achieving this.
May be some groovy code to fetch the assignee in a transition would be great.
May be Atlassian should consider this as a Feature Request :(
Thanks for the quick assistance :)
Regards,
Mohan Sundar J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohan Sundar ,
if evaluating another app is applicable for you - @Parvaneh Zand already mentioned two - you might want to have a look at Jira Workflow Toolbox.
There even is a documented use case that exactly meets your requirements: Assign issue to last user who executed a certain transition in the workflow.
Cheers
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thorsten Letschert _Decadis AG_ Thanks for your reply. I got the headline from that Add-on page only. I do not have that add-on. I have Scriprunner only. Hence buying any other add-on won't be my solution :( Thanks for the swift assistance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.