Article - CS419712

"GET/v3/tracker/{trackerId}/configuration" Swagger REST API endpoint only returns mapping/filtering entity information as "domainId" on Codebeamer

Modified: 07-Jun-2024   


Applies To

  • Codebeamer 2.1

Description

  • Scenario:
    • Using the new REST API endpoint GET/v3/tracker/{trackerId}/configuration developed for Swagger V3 Tracker Configuration Endpoints
    • Having a Choice field with Datasource filter mapping options to entities with ID, like Projects, Trackers, Work/Config items:
    • The JSON response from REST API will only contain the ID of the entity as "domainId", with no additional information about the type of entity under it:
      • "choiceOptionSetting": {
                "type": "CHOICE_WORK_CONFIG_ITEMS",
                "referenceFilters": [
                  {
                    "id": 27393,
                    "domainType": "PROJECT",
                    "domainId": 41,
                    "filterStatusId": 0,
                    "targetIds": [
                      5
                    ]
                  }
                ]
              }
This is a printer-friendly version of Article 419712 and may be out of date. For the latest version click CS419712