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 votes

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 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,831 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