Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,038
Community Members
 
Community Events
176
Community Groups

How to get all issues data from rest api?

Edited

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

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

@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

@Mohamed Benziane do you have the for loop query?

Suggest an answer

Log in or Sign up to answer