Why cloud API didn't return subtasks as a issuelinks?

In the documentation of the api we can get the link id of the subtask


But in reality when i did a call to get the subtask i didn’t find the link id

Hi @AmineMekki1 ,

In order to being more context to this post, I have the following questions:

  1. What specific API are you referring to? Are you using Get issue API?
  2. Can you clarify which field was incorrect and what were you expecting? What is the “link id” that you are referring to?

With the screenshot you shared, it looks like an IssueBean. In relation to item 2, if you are referring to the value of self, then I believe the actual result still has it but instead of an issueKey (ED-2), the issueId (10009) is now being returned.

Cheers,
Ian

Hi @iragudo ,

  1. yes i’m using the get issue API
  2. In the first screenshot in the sub-tasks we have the link id, link type and outwardIssue but in the second screenshot we have only data about sub tasks issues
    So i’m looking for the data of the issue link id and link type
{
        **"id": "10000",**
        "type": {
          "id": "10000",
          "name": "",
          "inward": "Parent",
          "outward": "Sub-task"
        },
        "outwardIssue": {
          "id": "10003",
          "key": "ED-2",
          "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2",
          "fields": {
            "status": {
              "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
              "name": "Open"
            }
          }
        }
      }

Thanks, @AmineMekki1 . I reached out to the team who can help us and I raised this public-facing issue on your behalf so that the progress can be tracked.

Cheers,
Ian

@iragudo thank you for your help, now we just wait for atlassian fix.