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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

553 views 1 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