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 vote

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

246 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