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 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...

197 views 2 11
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