Create a filter/query from a file containing a list of issue ids

I have a file that contains a list of issues ids, one per line.

I would like automatically a filter in JIRA from this file : to obtain only the list of these IDs.

Do you know if there is already a JIRA plugin ?

Did you already use the JIRA REST API about the creation of filter query ? could you give me an example if you know this subject ?

I begin the administration of JIRA.

Thank you very much

Best regards

1 answer

0 votes

No, there isn't an add-on for this.

If you convert your file into a comma-separated list of IDs, then you can say "Key in(<list>)" in a filter.  That will work over REST too (see )

But.  A filter string is limited in length.  If you have a lot of issue keys, it's going to fail.

There is probably a much better way to do this.  Where did you get the list of issue keys from?

I know that it is possible to define directly in jira-sql using "key in ()", but each key must in "", separated by ",", and sometimes, the list is very big, several tens.

The list of issues keys come from an excel file. Now, we use another tool to manage issue, and the users can copy the excel colum and paste in text file. With the tool, it can possible to indicate the file .txt and the filter is created.

Nevertheless, they can copie the list of issue key, modify it adding "", and ,, then copy in the jira-sql.

For now, this solution will be sufficient.


Thank you very much

Best regards

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,760 views 11 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