Jira rest API response time

Sandeep MP January 4, 2020

Hi Team,

I am trying to query a filter which has 301308 jira issues, via powershell webrequest.

How much time it should take to complete this task?

2 answers

0 votes
Sandeep MP January 4, 2020

@Craig Castle-Mead  Thanks for the response.

I am trying to compare few details in my prod and dev.

So for that i am fetching data from prod and dev and pass it to array and compare the fileds which needed.

Even if i define tartAt=0&maxResults=5000, the max data which i still get is 2000.

so i need to loop API calls to get all data.

Is there any better way u can suggest.

This will be weekly once activity.

0 votes
Sandeep MP January 4, 2020

Please find the time taken to complete the request.

 

Days : 0
Hours : 0
Minutes : 50
Seconds : 26
Milliseconds : 313
Ticks : 30263133936
TotalDays : 0.0350267753888889
TotalHours : 0.840642609333333
TotalMinutes : 50.43855656
TotalSeconds : 3026.3133936
TotalMilliseconds : 3026313.3936

 

Is there anyway i can get better results via REST API

Craig Castle-Mead
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.
January 4, 2020

It’s not necessarily the number of results, but the complexity of the query itself. There may be ways to optimize the query (order of precedence or filtering in the optimal field types, can you leverage other metadata to filter on - such as a label?)

Another thing to consider, what are you doing with a result of 300,000+ issues? If this is actually what you need, it seems likely that you cannot be needing up to date information that often (as reviewing it will take time), so is 50 minutes actually ok?

CCM

Suggest an answer

Log in or Sign up to answer