Unassign all tickets that are closed, cancelled, done

lindy March 12, 2021

I would like to find the correct query to search all Jira projects and find all tickets that are in a status of closed, done and cancelled and are still assigned to a person with the end result being that all these tickets become unassigned.

3 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 12, 2021

Regarding the person for whom you are searching in the Assignee field - is that person still an active and valid user in your JIRA instance? 

Typically you would search for tickets assigned to a particular person with 

assignee=<start typing the person's name>

But if that person is no longer a valid user, or inactive/disabled, of the instance then they will not come up when you start typing their name. 

But I concur with @Bill Sheboy in wondering why you would want to change the assignee for issues that are already closed?

1 vote
Bill Sheboy
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.
March 12, 2021

Hi @lindy 

I am curious about what problem you are trying to solve.

It would seem those issues in close, cancelled, and done were assigned to someone when they became "resolved".  Why unassign them later, essentially losing the history of who worked on them? Thanks!

Best regards,

Bill

0 votes
Vero Rivas
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.
March 12, 2021

Hi @lindy 

  Try this query

  Project is not EMPTY and status in (closed, done, canceled) and assignee is not EMPTY

  Another query maybe

  Project in (name of projects) and status in (closed, done, canceled) and assignee is not EMPTY

Cheers

lindy March 15, 2021

Many thanks @Vero Rivas 

Like Vero Rivas likes this
Vero Rivas
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.
March 15, 2021

If you found the answer useful, could you please accept it? Many Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events