Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i assign already resolved Tickets to the last Person who worked on it?

Marco Weine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2019

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

 

2 answers

2 accepted

0 votes
Answer accepted
Ivan Lima
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2019

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.

0 votes
Answer accepted
Radu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2019

@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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events