Reputation: 315
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?
Upvotes: 0
Views: 1420
Reputation: 711
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"
}
Upvotes: 2