GET api/Task/allLinks?projectId={projectId}&taskId={taskId}

Get linked issues of a development issue or a management issue

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

taskId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get linked issues of a development issue or a management issue

API_Data_AllLinksResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

AllLinksResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ParentStory": {
      "StoryItemId": 1,
      "DisplayId": "sample string 2",
      "StoryTitle": "sample string 3",
      "CurrentOwnerID": 1,
      "CurrentOwnerName": "sample string 4",
      "CurrentStatus": 1,
      "CurrentStatusName": "sample string 5",
      "IfStandaloneStory": true,
      "PlanedStartDate": "2024-12-21 14:50:24",
      "PlanedEndDate": "2024-12-21 14:50:24",
      "LinkedRequirementItem": {
        "ProjectId": 1,
        "IssueId": 2,
        "IssueTitle": "sample string 4",
        "LinkType": 1,
        "LinkedAs": 5,
        "OwnerName": "sample string 6",
        "StatusName": "sample string 7",
        "ParentFolderName": "sample string 8",
        "LinkComment": "sample string 9"
      }
    },
    "AllLinks": {
      "Management": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "Development": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "Requirement": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "Knowledge": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "TestRun": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "TestLiberary": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ],
      "Defect": [
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        },
        {
          "ProjectId": 1,
          "IssueId": 2,
          "IssueTitle": "sample string 4",
          "LinkType": 1,
          "LinkedAs": 5,
          "OwnerName": "sample string 6",
          "StatusName": "sample string 7",
          "ParentFolderName": "sample string 8",
          "LinkComment": "sample string 9"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<API_Data_AllLinksResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task">
    <d2p1:AllLinks xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
      <d3p1:Defect>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:Defect>
      <d3p1:Development>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:Development>
      <d3p1:Knowledge>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:Knowledge>
      <d3p1:Management>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:Management>
      <d3p1:Requirement>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:Requirement>
      <d3p1:TestLiberary>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:TestLiberary>
      <d3p1:TestRun>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
        <d2p1:LinkedIssue>
          <d2p1:IssueId>2</d2p1:IssueId>
          <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
          <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
          <d2p1:LinkType>1</d2p1:LinkType>
          <d2p1:LinkedAs>5</d2p1:LinkedAs>
          <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
          <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
          <d2p1:StatusName>sample string 7</d2p1:StatusName>
        </d2p1:LinkedIssue>
      </d3p1:TestRun>
    </d2p1:AllLinks>
    <d2p1:ParentStory>
      <d2p1:CurrentOwnerID>1</d2p1:CurrentOwnerID>
      <d2p1:CurrentOwnerName>sample string 4</d2p1:CurrentOwnerName>
      <d2p1:CurrentStatus>1</d2p1:CurrentStatus>
      <d2p1:CurrentStatusName>sample string 5</d2p1:CurrentStatusName>
      <d2p1:DisplayId>sample string 2</d2p1:DisplayId>
      <d2p1:IfStandaloneStory>true</d2p1:IfStandaloneStory>
      <d2p1:LinkedRequirementItem>
        <d2p1:IssueId>2</d2p1:IssueId>
        <d2p1:IssueTitle>sample string 4</d2p1:IssueTitle>
        <d2p1:LinkComment>sample string 9</d2p1:LinkComment>
        <d2p1:LinkType>1</d2p1:LinkType>
        <d2p1:LinkedAs>5</d2p1:LinkedAs>
        <d2p1:OwnerName>sample string 6</d2p1:OwnerName>
        <d2p1:ParentFolderName>sample string 8</d2p1:ParentFolderName>
        <d2p1:ProjectId>1</d2p1:ProjectId>
        <d2p1:StatusName>sample string 7</d2p1:StatusName>
      </d2p1:LinkedRequirementItem>
      <d2p1:PlanedEndDate>2024-12-21T18:50:24.7364643-08:00</d2p1:PlanedEndDate>
      <d2p1:PlanedStartDate>2024-12-21T18:50:24.7364643-08:00</d2p1:PlanedStartDate>
      <d2p1:StoryItemId>1</d2p1:StoryItemId>
      <d2p1:StoryTitle>sample string 3</d2p1:StoryTitle>
    </d2p1:ParentStory>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_AllLinksResponse>