Can I get a list of Issue Keys from a filtered search?

Hi There, 

So I'd like to use a standard search (e.g. project = myProject, status = closed, type = bugs, etc...) and then derive a list of Issue Keys from the filtered results. 


Is this something that can be done?  

1 answer

0 vote

Yes, in several ways.  Question is what the context is?  GUI?  Code?  Script?  REST Call?  Export?

Ultimately I'd like to create a static filter of selected issues with it.  I basically need all of the Issue Keys so I can create a SQL filter like this:

issueKeys in (PRO-1,PRO-2,PRO-3,etc...)

But where from? 

For example, You could do it in the issue navigator, export to CSV, save it and use a text editor to change ,/n to just ,.

(And you don't want to use SQL on a Jira database, I'm hoping you mean JQL)

That's autocorrect for you!  I did mean JQL. 


I was hoping to use the basic filter options to generate the list of tickets I need (e.g. All closed bugs for a specific sprint).  Then somehow generate all of the Issue Keys derived from that filtered result.  I know I could export it and use a text editor, I was just wondering if JIRA had a feature that did all of that for me. 


I really appreciate your help, Nic!

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

243 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