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 https://jira.atlassian.com/browse/JRA-1973 to search by updated by.

Please help...

1 answer

1 accepted

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

850 views 3 12
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