Introduce a new endpoint or improve existing to retrieve all results associated with a label in REST API

XMLWordPrintable

    • 0
    • 1

      Problem Definition

      Currently there's no way to retrieve a list of build results associated with a label via a REST API. You can use the below API and filter for label:

      https://bamboo/rest/api/latest/result.json?label=release
      

      However, as per the documentation – it only works for top level plans. It does not include plan branch results.

      The below Bamboo UI does show all results per label (even branches):

      Suggested Solution

      Improve the REST endpoint https://bamboo/rest/api/latest/result.json?label=release to allow retrieval of plan branch results too.

            Assignee:
            Unassigned
            Reporter:
            Jeremy Owen
            Votes:
            9 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: