Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18428

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Builds, REST API
    • None
    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

              Unassigned Unassigned
              jowen@atlassian.com Jeremy Owen
              Votes:
              9 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: