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

Retrieve repository information from REST API

    XMLWordPrintable

Details

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

      As a Bamboo user I want to retrieve repository information from the Bamboo REST API

      Suggested Solutions

      1. Add a /repositories endpoint that would list repositories used by Build plans.
      2. Add repository data to /plan endpoint

      Workaround

      This could be retrieved from the Bamboo database:

      mysql
      select b.full_key, vl.name, substring(vl.plugin_key, locate(':', vl.plugin_key)+1) type, vl.xml_definition_data 
      from build b 
      join plan_vcs_location pvl on (b.build_id = pvl.plan_id) 
      join vcs_location vl using (vcs_location_id);
      
      postgres
      select b.full_key, vl.name, substring(vl.plugin_key from position(':' in vl.plugin_key)+1), vl.xml_definition_data 
      from build b 
      join plan_vcs_location pvl on (b.build_id = pvl.plan_id) 
      join vcs_location vl using (vcs_location_id);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ezeidan Elias Zeidan (they/them)
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: