---
title: "Create Issue Relationship"
method: POST
path: "/v1/issuelink/issue/{issueId}"
tags: ["Issues"]
---

# Create Issue Relationship

`POST /v1/issuelink/issue/{issueId}`

Use this API to create a relationship between an issue and related records.

## Path parameters

- `issueId` string, uuid, required

## Request body

- CreateIssueLinkRequest
  - `linkTypeLabel` 'is related to', required — The label of the relationship.
  - `relatedEntityType` 'Control' | 'Evidence' | 'Initiative' | 'Issue' | 'Risk' | 'assessment' | 'assets' | 'entities' | 'policies' | 'procedures' | 'processing-activities' | 'standards' | 'vendors', required — The entity type of the related record.
  - `relatedEntityId` string, uuid, required — The unique identifier of the related record.

## Response `201`

Successfully linked the Issue to the provided entity.

- CreateIssueLinkResponse
  - `linkId` string, uuid, required — The unique identifier of the relationship link.
  - `linkType` string, required — The type of relationship between the related records.
  - `entity1` EntityDetails, required
    - `id` string, uuid, required — The unique identifier of the related record.
    - `name` string, required — The name of the related record.
  - `entity2` EntityDetails, required
    - `id` string, uuid, required — The unique identifier of the related record.
    - `name` string, required — The name of the related record.

## 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` — 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)
