Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to obtain entity properties of several Jira issues in one REST API request?

Dennis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2021

Hello

We're developing a Jira plugin that inserts our client app into Jira interface. Its Cloud version is already available, and now we're porting it on Jira Data Center.

In the Cloud version, we can load properties of issues by requesting /rest/api/2/search endpoint with a "properties" field (in the request payload for POST or as a query parameter for GET).

But if we try doing the same in Jira Server/DataCenter, we don't get the same result: GET ignores the "properties" field, and POST responds with status 400 and error message "Unrecognized field "properties" ..."

Our search request is likely to give its maximum of 50 results.

Is it possible to load properties of a set of issues in some kind of batch request, or is there any other way to minimize the amount of requests?

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events