How can I find issues I moved?

I have two projects with similar names. One of the projects wanted to update the issuetypes. I moved a couple hundred issues from one issue type to another in that project. How can I search for those issues to move them back.

I tried updatedDate but that did not work

Atlassian isn't going to do to search by updated by.

Please help...

1 answer

1 accepted

0 votes
Accepted answer
Vasiliy Zverev Community Champion Dec 30, 2015

Try using "updated = "date of move" " instead updatedDate.

 There is a small difference between creator and author. I do not remember exactly, but if somebody created an issue and another moved it then these fields will be different.

JQL does not allow to compare two user fields, since you can export it into excel and find there issues where these fields are diffrent. Then use "issuekey in ()" to get it all.


Thanks..I should have mentioned I tried that as well. Doesn't look like moving an issue from one type to another constitutes an update.

Vasiliy Zverev Community Champion Dec 30, 2015

It is time for hardcore solution! Here is an SQL to get issues for which issue key was changed (it means, it were moved) Select project.pkey + '-' + cast(jiraissue.issuenum as varchar(20)) as issueKeyForJQL , jiraissue.issuenum , changeitem.* from jiraissue join project on jiraissue.PROJECT = project.ID join changegroup join changeitem on changegroup.ID = changeitem.groupid on jiraissue.ID = changegroup.issueid where project.pkey = 'PR197' --type your project key here and changeitem.FIELD = 'Key'

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,712 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you