0

I need to get a bulk of issues that in the array of keys.

A GET URL-request like '...&issues in (key-1,key-2)...' is not an option for me because of length of the array may be more than 200 so it will be a 2000+ chars URL request and it is not good as I red here.

Here is Jira's API example but there is no comments about the jql property value format.

How should I fill the JSON-POST-model's jql property for get issues by keys?

Kamerton
  • 315
  • 3
  • 9

1 Answers1

2

You pass the jql as part of the request body. Here's a sample request body you can use for the /search endpoint using POST:

{
    "jql": "status in (Done, \"in progress\") OR issue in (TEST-1, TEST-2) ORDER BY created"
}
Ian
  • 691
  • 3
  • 9