How to bring a list of issues with API

Alex Galvan October 2, 2017

Hey guys, 

I'm building a very simple tool that needs to bring some field values of certain issues in Jira. 

Is it possible to bring ONLY those issues using the API? 

If I use the POST call, I'm able to build the JQL, but how can I use the operator IN?

POST https://mycompany.atlassian.net/rest/api/latest/search?

{"jql":"Key IN [JIRA-001,JIRA-005,JIRA-123]","startAt":0,"maxResults":10,"fields":["assignee","key"]}

 

1 answer

1 accepted

0 votes
Answer accepted
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2017

key in (JIRA-001,JIRA-005,JIRA-123)

Alex Galvan October 2, 2017

I honestly don't know what was wrong on my code, I though I tried the parenthesis before and didn't work for some reason. Anyway, thank you Boris!

Suggest an answer

Log in or Sign up to answer