How to list JIRAs moved to another projects??

I need to calculate the ratio of bugs landed in my team but were moved to another team over the number of bugs that were filed against my team.

To do that, I have the following JQL:

issue in (PLT-2200, PLT-2201, PLT-2202, PLT-2203, PLT-2204, PLT-2205, PLT-2206, PLT-2207, PLT-2208, PLT-2209, PLT-2210) and type = Bug

However, Since PLT-2201 was moved to APP-2384, PLT-2203 moved to IT-12834, PLT-2209 moved to OPS-8938, the query fails.

Is there another way to list all the JIRAs that passed through my team, PLT, regardless whether these JIRAs remained in my team or ended up some where else?

Thank you

Marcus

6 answers

Use the JQL:

project in (PLT,APP,IT,OPS) and issuetype=Bug

@ck,

how can you get APP-2384 issue as old key was PLT-2201

Not applicable. It will return JIRAs from extraneous projects, eg, OPS, IT, ...

Hi Marcus,

you can create a small JQL plugin to get the required result.

API : ComponentAccessor.getChangeHistoryManager().findMovedIssue(oldKey).

This plugin can be developed in no time.

add customfield something like "Previous Issue IDs " and append latest issuekey to that when the issue moved to other project by using listener(implement your login in move event)

@rambanam,

Here the problem is @marcus wants to see the new issue key(moved one) in search issue navigator not in some custom field.

yes you are currect!, but later he can do search for old keys as

"Previous Issue IDs" ~ "PLT-2201"

@rambanam,

if there is a direct api from jira , then why to complicate the things :)

Can not add a new field. I am not a system admin

No meaningful answer provided. closing the question

I thought I already provided a resolution above

WHAT DOES IT STILL ASK ME TO ANSWER MY OWN QUESTION WHEN I ALREADY DONE IT TWICE???

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,997 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot