Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
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

Limit not working while fetching data using REST API

While fetching data usin REST calls from fisheye and crucile, the limit parameter is not working. Is there any alternative for it?

1 answer

1 vote

Hi Shruti,

Please note not every FishEye/Crucible REST API method supports pagination, the ones that do support have it explicitely mentioned in the documentation. 

Let me know what URL are you trying to hit so I can clarify if pagination is supported for this endpoint or if there is alternative paginated endpoint that could be used instead. 

Hi, I tried limiting data while fetching repositories. Here's the query,

http://localhost:8060/rest-service-fe/repositories-v1?limit=1

Inspite of applying limit=1, I'm getting all the list of repositories. I am facing same issue with other queries as well (Eg. users, revisionInfo etc).

note GET request to https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html#rest-service-fe:repositories-v1 resource lists all the repositories, while GET request to similar https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories resource retrieves a page of repositories.  The latter use paginated API.

Similary use https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:users to retrieve page of users etc.

Hope that helps

Hi Piotr,

It worked. Thanks a lot! :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

400 views 19 23
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