POST api/Story/ChangeLinkedRequirement
Make a standalone story(does not link a requirement issue) to be linked with a requirement issue, and move the story's attachment to the requirement issue.
Request Information
URI Parameters
None.
Body Parameters
ChangeLinkedRequirementBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
StoryId | integer |
None. |
|
LinkedRequirementProjectId | integer |
None. |
|
LinkedRequirementIssueId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "StoryId": 2, "LinkedRequirementProjectId": 3, "LinkedRequirementIssueId": 4 }
application/xml, text/xml
Sample:
<ChangeLinkedRequirementBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <LinkedRequirementIssueId>4</LinkedRequirementIssueId> <LinkedRequirementProjectId>3</LinkedRequirementProjectId> <ProjectId>1</ProjectId> <StoryId>2</StoryId> </ChangeLinkedRequirementBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Make a standalone story(does not link a requirement issue) to be linked with a requirement issue, and move the story's attachment to the requirement issue.
API_Data_ChangeStoryLinkedRequirementResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | ChangeStoryLinkedRequirementResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectId": 1, "StoryId": 2, "StoryDisplayId": "sample string 3" } }
application/xml, text/xml
Sample:
<API_Data_ChangeStoryLinkedRequirementResult 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.Entities"> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:StoryDisplayId>sample string 3</d2p1:StoryDisplayId> <d2p1:StoryId>2</d2p1:StoryId> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ChangeStoryLinkedRequirementResult>