Map code repo to task tracking projects

Map code repo to task tracking projects. Make sure the mapping mode is set to 'repos' in the task tracker settings.

post/task_tracking/mapCodeReposToProjects

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/task_tracking/mapCodeReposToProjects
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: task_tracking:write

Request body

integration_idinteger

Optional. The id of the task tracker integration when multiple integrations are available

Example request

{
  "project_repos_map": {
    "10000": [
      1,
      2,
      3
    ],
    "10001": [
      4,
      6
    ]
  },
  "integration_id": 1
}

Response

The code repos has been mapped to the task tracker projects

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.