---
ai:
  exclude: true
search:
  tags:
    - issueLink
    - GET
seo:
  description: >-
    Returns an issue link with the specified id. Reference for the GET
    /api/2/issueLink/{linkId} endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Get an issue link with the specified id
  badge: GET
title: Get an issue link with the specified id
type: openapi-operation
---
Returns an issue link with the specified id.

`GET /api/2/issueLink/{linkId}`

**Responses**

- `200` — Returned if the request was successful.
- `400` — Returned if the specified issue link id is invalid.
- `401` — Returned if the user does not have the link issue permission for the issue, which will be linked to another issue.
- `404` — Returned if issue linking is disabled or it failed to find an issue link with the specified id. Either because none exists with this id, or the user doesn't have the permission to see one of the linked issues.
- `500` — Returned if an error occurred when creating the issue link or the comment.

Response example, 200:

```json
{
  "id": "10000",
  "inwardIssue": {
    "fields": {
      "issuetype": {
        "avatarId": 10002,
        "description": "A problem which impairs or prevents the functions of the product.",
        "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
        "id": "1",
        "name": "Bug",
        "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
        "subtask": false
      },
      "priority": {
        "description": "This is a description of the priority",
        "iconUrl": "http://www.example.com/jira/images/icons/priorities/major.png",
        "id": "1",
        "name": "Major",
        "self": "http://www.example.com/jira/rest/api/2/priority/1",
        "statusColor": "red"
      },
      "status": {
        "description": "The issue is currently being worked on.",
        "iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
        "id": "10000",
        "name": "In Progress",
        "self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
        "statusCategory": {
          "colorName": "blue-gray",
          "id": 1,
          "key": "new",
          "name": "To Do",
          "self": "http://localhost:8090/jira/rest/api/2.0/statuscategory/1"
        },
        "statusColor": "green"
      },
      "summary": "string"
    },
    "id": "10000",
    "key": "HSP-1",
    "self": "http://www.example.com/jira/rest/api/2/issue/10000"
  },
  "outwardIssue": {
    "fields": {
      "issuetype": {
        "avatarId": 10002,
        "description": "A problem which impairs or prevents the functions of the product.",
        "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
        "id": "1",
        "name": "Bug",
        "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
        "subtask": false
      },
      "priority": {
        "description": "This is a description of the priority",
        "iconUrl": "http://www.example.com/jira/images/icons/priorities/major.png",
        "id": "1",
        "name": "Major",
        "self": "http://www.example.com/jira/rest/api/2/priority/1",
        "statusColor": "red"
      },
      "status": {
        "description": "The issue is currently being worked on.",
        "iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
        "id": "10000",
        "name": "In Progress",
        "self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
        "statusCategory": {
          "colorName": "blue-gray",
          "id": 1,
          "key": "new",
          "name": "To Do",
          "self": "http://localhost:8090/jira/rest/api/2.0/statuscategory/1"
        },
        "statusColor": "green"
      },
      "summary": "string"
    },
    "id": "10000",
    "key": "HSP-1",
    "self": "http://www.example.com/jira/rest/api/2/issue/10000"
  },
  "self": "http://www.example.com/jira/rest/api/2/issueLink/10000",
  "type": {
    "id": "10000",
    "inward": "is duplicated by",
    "name": "Duplicate",
    "outward": "duplicates",
    "self": "http://www.example.com/jira/rest/api/2/issueLinkType/10000"
  }
}
```
