Forums

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

How to search for issues with key changes?

Jeanne Howe
Contributor
August 1, 2022

How do you search for an issue who's key has changed?

For example, MAXI-1234 is changed to MINI-4567.

How do you search for 'issue key was MAXI'

4 answers

0 votes
mauricio.groth
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.
August 4, 2022

Hi @Jeanne Howe 

As you're on Jira Server, the correct answer is to get an app that provides JQL extensions you're looking for.

With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

You can use this query to find all issues which are in project MINI and moved from project MAXI. 

 project = MINI AND issue in movedIssues("MAXI")

Check out the documentation for more examples.
I hope this helps!
Maurício

0 votes
Carlos Garcia Navarro
Community Champion
August 1, 2022
0 votes
Florian Bonniec
Community Champion
August 1, 2022

@Jeanne Howe 

 

You cannot do such JQL as WAS operator is only available for Assignee, Fix Version, Priority, Reporter, Resolution, and Status fields only. But using Key = MAXI-1234 should return MINI-4567.

0 votes
Trudy Claspill
Community Champion
August 1, 2022

Hello @Jeanne Howe 

What caused the issue key to change? Was the issue moved to another project, or was the key of the original project changed?

If you are looking for moved issues, there is not a function that will support doing that search natively. You could do a search directly against your database as described here: 

https://confluence.atlassian.com/jirakb/how-to-list-issues-moved-from-one-project-to-another-in-jira-1019410224.html

Or you could look at a third party app such as this one that adds a "movedIssues" function to JQL

https://marketplace.atlassian.com/apps/31399/jql-tricks-plugin?hosting=server&tab=overview

https://www.j-tricks.com/jql-tricks-plugin---dc.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events