v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Link existing task to issue

Link existing task to issue group

post/task_tracking/linkTaskToIssueGroup

Request body

issue_group_idinteger required

The id of the issue group a task should be linked

task_idstring required

The id of the task that should be linked to the issue group

project_idstring required

The id of the task tracker project related to the task

scope'group' | 'repo' | 'cloud' | 'domain' | 'container'

The scope that relates issues to the task. Default is 'group' that relates all the issues in the issue group to the task

scope_idinteger

The id of the specified scope. Not required when scope is 'group'

integration_idinteger

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

Example request

{
  "issue_group_id": 1,
  "task_id": "10123",
  "project_id": "10000",
  "scope": "repo",
  "scope_id": 11111,
  "integration_id": 1
}

Response

The task has been linked to the issue group

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}