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

(REST) No endpoint available providing testId

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 7.0.0
    • 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

      Currently, there is no endpoint providing testId, making it difficult to consume internal endpoint:

      • /plan/{projectKey}-{buildKey}/test/{testId}/quarantine [POST]
          Please, notice endpoint about is not listed in https://docs.atlassian.com/atlassian-bamboo/REST/6.4.1/

      Workaround

      It is required to review testId from Bamboo's UI or database.
      The following query can be used for this purpose:

      SELECT full_key,
             test_case_id as testId,
             test_class_name,
             test_case_name,
             quarantining_username,
             quarantine_date
      FROM build b
      JOIN test_class tcl ON tcl.plan_id=b.build_id
      JOIN test_case tc   ON tc.test_class_id=tcl.test_class_id
      WHERE b.full_key like 'PROJ-PLAN%'

      ⚠️This query was designed for Postgres DB and might needs adjustments for a different DB type.

      Attachments

        Activity

          People

            achystoprudov Alexey Chystoprudov
            rsperafico Rafael Sperafico (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: