Insight Rest API shows limited response upto 25 objecta for particular objectschema

Akshay Wagh
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!
March 14, 2022

Hi Team,

We are recently started using the insight and we are using it with REST API and when we are trying to get the response of particular objectSchema it only shows 25 objects but on the (Jira Insight UI) we have more that25 objects, but we are not able to fetch the details of remaining Objects through REST API

2 answers

1 accepted

0 votes
Answer accepted
Akshay Wagh
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!
March 14, 2022

we can use below command to get desire response:-"http://<URL>/rest/insight/1.0/iql/objects?iql= ObjectType = "<TypeName>" &resultPerPage=<desire count e.g.200>"

0 votes
GG
Contributor
January 17, 2024

Hi,

I have same problem. I changed API as below:

http://…./rest/insight/1.0/iql/objects?iql= ObjectType= “printers” &resultPerPage= 500

Only 25 assets are still displayed.

Regards

GG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events