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

Expose "Custom Build Flag" on /result API GET requests

    • 0
    • 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

      When viewing results of an API call for build results, there is not a way to distinguish results which were 'run customized'

      Suggested Solution

      We already flag custom runs in the UI with the "Custom Build" flag. Can we expose this flag on the API?

      Workaround

      add a script task within the Bamboo plan, that will add a 'Label' to the build results if a certain global variable = TRUE. Then when running the customized build, override the global variable to be equal to true. This will add the label to the build results, which is visable in the API.

      http://myhost.com:8085/rest/api/latest/result/{projectKey}-{buildKey}-{buildNumber}/label
      

            [BAM-20011] Expose "Custom Build Flag" on /result API GET requests

            No work has yet been logged on this issue.

              Unassigned Unassigned
              rwatson@atlassian.com Robert W (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: