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

REST API to retrieve the build key associated with a release

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • None
    • 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.

    Description

      Problem

      As an admin, I need to retrieve programmatically the information that links a release to a given build key and vice versa even when there is no artifact published for a build.

      Workaround

      If the DB access is available, this information can be retrieved with the following query:

      SELECT 
         CONCAT(dvp.plan_key, CONCAT('-',dvp.build_number)) build,
         dv.plan_branch_name,
         dv.name
      FROM
         deployment_version dv
         LEFT JOIN dep_version_planresultkeys dvp
         ON dv.deployment_version_id = dvp.deployment_version_id

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsantos Daniel Santos
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: