Issue #5412 invalid

REST API: Requesting Issues while sorting provides same result regardless of start offset

created an issue

I am running the following command and receiving the same result for start = 0, 1, 2, or 3. When I do start=4 it finally switches to a different result. Please see attachment for detailed output. This only happens when sorting and requesting by offset.

curl -i -u thedillonb:* ""

curl -i -u thedillonb:* ""

curl -i -u thedillonb:* ""

curl -i -u thedillonb:* ""

All four above returns the same issue:

{ "count": 26, "filter": {}, "search": null, "issues": [ { "status": "new", "priority": "trivial", "title": "Good", "reported_by": { "username": "thedillonb", "first_name": "Dillon", "last_name": "", "is_team": false, "avatar": "", "resource_uri": "/1.0/users/thedillonb" }, "utc_last_updated": "2012-11-15 08:09:10+00:00", "comment_count": 0, "metadata": { "kind": "bug", "version": null, "component": null, "milestone": null }, "content": "", "created_on": "2012-11-15 09:09:10", "local_id": 22, "follower_count": 0, "utc_created_on": "2012-11-15 08:09:10+00:00", "resource_uri": "/1.0/repositories/thedillonb/bitbucketbrowser/issues/22", "is_spam": false } ] }

Comments (3)

  1. Dillon reporter

    Also, if I increase the limit to, say 2, (while start=0) I get the correct 2 results. However, if I then do another request when start=2, I get a duplicate result I got in my first request...

  2. Log in to comment