Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

rest/agile API can anyone get pagination to work - &startAT &maxResults

I'm trying to use the rest/agile/1.0 api with the paginations parameter &startAt=0&maxResults=100 and I get a 404 response. If I leave off the &startAt=0&maxResults=100, the api call works and I get the first 50 results, but I can't seem to use pagination. I'm wondering if it is a bug. I see the same results on any rest/agile calls

Example call

https://validate.site/rest/agile/1.0/board/314/sprint - returns information on sprints within board 314

but 

https://validate.site/rest/agile/1.0/board/314/sprint&startAt=0&maxResults=100 - returns a 404

1 answer

1 accepted

1 vote
Answer accepted

well that didn't take long, looks like I need to use a ? instead of a & before startAt

https://validsite.net/rest/agile/latest/board?startAt=101&maxResults=100 - this works

https://validsite.net/rest/agile/latest/board&startAt=101&maxResults=100 - this fails

 

an & works with the other parts of the rest API

Hello @Paul Prachyl


In Jira's REST API queries, like most others, a question mark is the delimiter that's used to start the sequence of parameters, and the ampersand is the delimiter for any subsequent parameters.

IE, all of the following queries to the board endpoint would be valid:

/rest/agile/latest/board?type=Scrum&startAt=101&maxResults=100

/rest/agile/latest/board?startAt=101&maxResults=100&type=Scrum

/rest/agile/latest/board?startAt=101&type=Scrum&maxResults=100

/rest/agile/latest/board?maxResults=100&type=Scrum&startAt=101

As long as the parameters are provided, their order is irrelevant.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

75 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you