---
title: "Get List of Issues"
method: POST
path: "/v1/issues/search"
tags: ["Issues"]
---

# Get List of Issues

`POST /v1/issues/search`

Use this API to retrieve a list of all issues or search for issues based on the specified criteria.

## Query parameters

- `page` integer — Results page to be retrieved (0..N). Example- '?page=1
- `size` integer — Number of records per page (1..50). Example- '?size=20
- `sort` 'Id,asc' | 'Id,desc' | 'Name,asc' | 'Name,desc' | 'createdDate,asc' | 'createdDate,desc' | 'Priority,asc' | 'Priority,desc' | 'deadline,asc' | 'deadline,desc'

## Request body

- PageSearchRequest
  - `criteria` AttributeQueryCriteria
    - `filters` AttributePredicate[] — The fields and values used to filter results.
      - `field` string, required — The field name used to filter results.
      - `operator` 'EQUAL_TO' | 'NOT_EQUAL_TO' | 'GREATER_THAN' | 'LESS_THAN' | 'BETWEEN' — The relationship that must be met between the field and value.
      - `value` string[] — The field value used to filter results. If filtering for a range of values, this would be the start of the range and should be used in conjunction with the `toValue` parameter.
      - `toValue` string[] — The field value for the end of the range. This field should be used in conjunction with the `value` parameter.
    - `fullText` string — The key terms for the search criteria.

## Response `200`

Issues fetched successfully

- IssueResponse[]
  - `id` string, uuid — The unique identifier of the issue.
  - `number` integer — The page number of the results.
  - `name` string — The name that describes the issue.
  - `orgGroupId` string, uuid — The unique identifier of the organization associated with the issue.
  - `description` string — The description of the issue.
  - `deadline` string, date — The date by which the issue should be resolved.
  - `ownerIds` string[] — The unique identifiers of the issue owners who will remediate the issue.
  - `approverIds` string[] — The unique identifier(s) of the users assigned as approvers of the issue.
  - `reasonForClosure` string — The reason why the issue was closed.
  - `category` string — The category of the issue.
  - `status` 'Open' | 'Closed' — The status of the issue.
  - `sourceType` 'Control' | 'Evidence' | 'Initiative' | 'Issue' | 'Risk' | 'assessment' | 'assets' | 'entities' | 'policies' | 'procedures' | 'processing-activities' | 'standards' | 'vendors' — The entity type of the source record.
  - `sourceId` string, uuid — The unique identifier of the source record.
  - `note` string — The notes related to resolving the issue.
  - `actionPlan` string — The remediation plan for the issue.
  - `closedBy` string, uuid — The unique identifier of the user who closed the issue.
  - `closedDate` string — The date when the issue is closed.
  - `createdBy` string, uuid — The unique identifier of the user who created the issue.
  - `createdDate` string, date — The date when the issue is created.
  - `workflowAndStage` EntityWorkflowInformation
    - `id` string, uuid, required — The unique identifier of the workflow.
    - `name` string, required — The name of the workflow.
    - `type` string, required — The type of workflow.
    - `workflowMode` 'ADVANCED, BASIC' — This parameter indicates whether the workflow mode is null, basic, or advanced.
    - `stageId` string, uuid, required — The unique identifier of the workflow stage.
    - `stageName` string, required — The name of the workflow stage.
  - `auditFields` EntityRecordAuditInformation
    - `createdDate` string, date-time, required — The date and time that the entity was last created.
    - `lastUpdatedDate` string, date-time — The date and time that the entity was last updated.
    - `createdBy` EntityBasicUserInformation
      - `id` string, uuid — The unique identifier of the user.
      - `name` string — The full name of the user.
      - `email` string — The email address of the user.
      - `initials` string — The initials for the first and last name of the user.
    - `lastModifiedBy` EntityBasicUserInformation
      - `id` string, uuid — The unique identifier of the user.
      - `name` string — The full name of the user.
      - `email` string — The email address of the user.
      - `initials` string — The initials for the first and last name of the user.
  - `attributes` object — The details of the associated attributes.

## Other responses

- `400` — Invalid search criteria
- `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` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
