Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #34718 API Projects trackers with limit 0 should return all results
    Infos
    #34718
    Grégory OLIVER (oliver.gregory)
    2023-10-13 09:46
    2023-10-12 22:10
    36366
    Details
    API Projects trackers with limit 0 should return all results

    In fact, I need to find a tracker by it's name. But there is no url to filter by name /api/projects/183/trackers?query={"item_name":"titi"} or /api/projects/183/trackers?query={"name":"titi"} didn't work.

    That's why, I need to found ALL trackers, and search by name in my code. But when I try this url /api/projects/183/trackers?limit=0 it returns 0 results. Instead it should return ALL results.

    c.f. same problem for /api/testmanagement_campaigns/310995/testmanagement_executions?limit=0 and /api/projects/183/testmanagement_definitions?limit=0

    Instead /api/projects/183/milestones?limit=0 is working correctly.

    API
    15.0
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    That's why, I need to found ALL trackers, and search by name in my code. But when I try this url /api/projects/183/trackers?limit=0 it returns 0 results. Instead it should return ALL results.

    No, limit=0 should return no results, see the documentation related to the management of collections: https://docs.tuleap.org/user-guide/integration/rest/collections.html

    The actual bug is that /api/projects/183/milestones?limit=0 should return empty result, we are going to fix this.


    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes