Requirement Resource
Below are the list of REST APIs we developed related to requirement.
POST /rest/testray/latest/public/requirement/{requirementIssueKey}/addChildren
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/addChildren
REQUEST BODY
{
"requirementKeys": ["TAT-501","TAT-502"]
}
GET /rest/testray/latest/public/requirement/{requirementIssueKey}/getChildren
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/getChildren
REQUEST BODY NULL
GET /rest/testray/latest/public/requirement/{requirementIssueKey}/getOnlyImmediateChildren
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/getOnlyImmediateChildren
REQUEST BODY NULL
GET /rest/testray/latest/public/requirement/{projectKey}/requirementSuites
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT/requirementSuites
REQUEST BODY NULL
DELETE /rest/testray/latest/public/requirement/{requirementIssueKey}/removeChildren
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/removeChildren
REQUEST BODY
{
"requirementKeys":["TAT-501","TAT-502"]
}
GET /rest/testray/latest/public/requirement/{requirementIssueKey}/linkedRequirementSuites
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/linkedRequirementSuites
REQUEST BODY NULL
POST /rest/testray/latest/public/requirementSuite/create
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirementSuite/create
REQUEST BODY
{
"projectKey":"TAT",
"suiteName":"API - REQ Suite",
"parentSuiteId":0
}
POST /rest/testray/latest/public/requirementSuite/addMember
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirementSuite/addMember
REQUEST BODY
{
"memberId":80000,
"requirementSuiteId":500,
"memberProjectKeyOrId":"TAT"
}
GET /rest/testray/latest/public/requirement/{projectKey}/requirementSuite/440
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT/requirementSuite/500
REQUEST BODY NULL
DELETE /rest/testray/latest/public/requirementSuite/deleteMember
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirementSuite/deleteMember
REQUEST BODY
{
"requirementSuiteId":500,
"memberId":80000
}
DELETE /rest/testray/latest/public/requirementSuite/delete
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirementSuite/delete
REQUEST BODY
{
"projectKeyOrId":"TAT",
"requirementSuiteId":500
}
POST /rest/testray/latest/public/requirement/{requirementIssueKey}/linkTestCase
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/linkTestCase
REQUEST BODY
{
"testCaseKeys": ["TAT-100","TAT-101"]
}
GET /rest/testray/latest/public/requirement/{requirementIssueKey}/linkedTestCases
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/linkedTestCases
REQUEST BODY NULL
DELETE /rest/testray/latest/public/requirement/{requirementIssueKey}/deleteLinkedTestCases
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/deleteLinkedTestCases
REQUEST BODY
{
"testCaseKeys": ["TAT-100","TAT-101"]
}
GET /rest/testray/latest/public/requirement/{requirementIssueKey}/getDefects
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/requirement/TAT-500/getDefects
REQUEST BODY NULL