Forums

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

How to get all issues data from rest api?

조성진_상연_
Contributor
July 19, 2021

I found that

https://my-domain.atlassian.net/rest/api/2/search?jql= 

is fetching all issues

 

but default maxLength is 50, so I can not see more than 50 issues (in my case I have over 2000 issues)

so I try the offset parameter(`offset=100`) for searching the next 100 issues, but It didn't work.

 

Is there any parameter to fetch the next 50 issues?

1 answer

1 accepted

2 votes
Answer accepted
Mohamed Benziane
Community Champion
July 19, 2021

Hi,

Try to use he maxresult parameter and startAt inside a loop if you can't fetch 2000 issue with the first parameter.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion

조성진_상연_
Contributor
July 19, 2021

@Mohamed Benziane Thanks for great answer, 

startAt parameter works

as you suggested, now I can fetch all data inside a for loop

Like Mohamed Benziane likes this
Vijay Kumar October 27, 2022

@Mohamed Benziane do you have the for loop query?

Suggest an answer

Log in or Sign up to answer