---
title: "Get Issue Tasks"
method: GET
path: "/v1/issuetasks/{issueId}"
tags: ["Issues"]
---

# Get Issue Tasks

`GET /v1/issuetasks/{issueId}`

## Request

- Base URL: `https://hostname/api/issue-management`
- URL: `https://hostname/api/issue-management/v1/issuetasks/{issueId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `ISSUE`, `ISSUE_READ`

Use this API to retrieve a list of all tasks for a specific issue.

## Path parameters

- `issueId` string, uuid, required

## Query parameters

- `page` integer: Results page to be retrieved (0..N). Example- '?page=1
- `size` integer: Number of records per page (1..20). Example- '?size=20
- `sort` 'taskName,asc' | 'taskName,desc' | 'id,asc' | 'id,desc' | 'priority,asc' | 'priority,desc' | 'createdDate,asc' | 'createdDate,desc' | 'deadline,asc' | 'deadline,desc'

## Response `200`

Successfully fetched tasks related to the issue

- IssueRelatedTasksDto[]
  - `issueId` string, uuid: The unique identifier of the issue. This value is obtained using the [Get Issue API](/onetrust/reference/findAllIssuesByFilter).
  - `taskId` string, uuid: The unique identifier of the task.
  - `taskName` string: The name of the task.
  - `deadline` string, date-time: The date and time by which the task should be completed.
  - `status` string: The status of the task.
  - `priority` string: The priority level of the task.
  - `description` string: The description of the task.
  - `orgGroupId` string: The unique identifier of the organization associated with the task.
  - `assigneeId` string, uuid: The unique identifier of the user assigned to the task.
  - `collaboratorIds` string[]: The unique identifiers of the users added as collaborators on the task.
  - `createdDate` string, date-time: The date and time that the task was created.
  - `createdBy` string: The unique identifier of the user who created the task.
  - `modifiedDate` string, date-time: The date and time that the task was last modified.
  - `modifiedBy` string: The unique identifier of the user who last modified the task.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Invalid sort criteria

---

[API](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management.md) - [All operations](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management/revisions/99b36925f377?raw)
