Hello Atlassian Community,
currently i am working on a Solution on how to assign Tickets, that are already solved, back to the last person who worked on that Ticket (regardless of if the person has already been assigned before or not).
I already tried using the ScriptRunner-Script "Assign to last role member" but in this case it can only assign the right Assignee if the Person has been assigned before (which is not always the case).
This Problem stems from Colleagues forgetting to assign themselfes to the Ticket while working on it.
To prevent this Issue from happening in the future i already added new Workflow-Functions that assign the current user when they close the Ticket.
All i need for now is a Solution to work off all the tickets that are already solved and have no assignee.
Thanks in Advance for your Time!
Best Regards
It sounds that some due diligence has to be done anyways to find out the last person who worked on the ticket. It seems to me that, not necessarily the last person who transitioned, commented, etc, is the last one who actually worked on the ticket.
However, once you find your people, besides the option mentioned by Radu, another possible solution could be through CSV importing. Do your JQL to find a list of issues to be updated, export as CSV, populate the file with the new users and import them back - don't forget to inform the issue key.
Also, not specifically for your case but it might suit you, you can capture the last updater or commenter through a custom filed provided by Toolkit Plugin for Jira (free) - which gives you the ability to display/capture the username of either the last updater or commenter depending on which happened most recently.
Cheers,
Ivan.
@Marco Weine I have done something similar to this using APIs and issue history.
Basically you need to get a filter with all the issues then write a script that looks in each issue history and identifies ppl that interacted with the ticket. you can the pick one to be the assignee.
Kinda hard problem to solve without people doing the right thing at the right time.
Cheers,
Radu
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.