You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I don't know how create auto assignment to previous assignee using custom field and post function when I change issue status (or dragging it to other status column on the board). Here, at this community a read other comments, but there is still no clear understanding except "create custom field" and use post function.
Can somebody explain me how to do that in detail? Like "chose that menu, click certain button, then go to some settings etc"? I can use post function to assign next assignee, but don't know how to assign previous.
Thanks in advance for help.
do you have the "Jira Misc Workflow Extension" or the "Suite Utilities for Jira" app? You need a post function to copy a value from a custom field to the assignee field. That is not working out of the box.
If you have one of these, I can give you a step-by-step solution.
Not as far as I know. You have to put the actual user in a custom field, every time you make a transition in our workflow. That's ok with Jira out-of-the-box.
But for copying the user from the custom field to the assignee field, there is no function in Jira.
So here is what you have to do:
And now to the workflow:
But, if you have the Jira Misc Workflow Extensions, there is another postfunction that is much easier to use: "Assign to last role member" - you can assign the issue automatically to the role member, who had the issue assigned before. With that postfunction, you don't even need a custom field! I haven't tested that function up to now, but I think, this is exactly what you need.
This can also be done using Assign to last role member in script runner post function
:) If you have Adaptavist script runner plugin, you can use its post function on workflow transition, name of the function is - assign to last member of the role,
It will reassign the ticket to the person who was previous assignee from that role.
Hope this helps :)
Thanks @Priyanka Lavania
I am quite comfortable in groovy. The issue at hand is this.
The last person who was assigned to the issue is in most cases not the developer I am attempting to assign the issue to.
The person is the first person to have the issue when it enters a given state.
Got it, I had similar case where the only way I could find is to store this the value in another custom filed when status changes. With complex groovy it might be possible to check issue history and get previous assignee, but we rather chose simple approach.(Explained by Thomas Schlegel above)
For role based assignee I used Script Runner.
Can you plz explain it to me ?
When we create any issue we can set default assignee or we can assign it for the first time manually after issue creation. Till this stage that should be considered as first/original assignee of the issue.
Later I want to change the assingee but I want that the first/original assignee of any issue to be captured in customer field whenever Assignee is changed. And then value in custom field should remain static even after second time assignee is being changed.
Custom field to be populated with first assignee name once change in assignee for the first time.
Plzzzzz help. I am new to Jira.