Interface TraceLinkService
public interface TraceLinkService
Responsible for all management of TraceLink entities within Zephyr Scale.
-
Method Summary
Modifier and TypeMethodDescriptiongetTestCaseTraceLinkCountByIssueId
(String userKey, Long issueId) Returns the number of TraceLinks between an Issue and TestCase that exist for the provided issueId.getTraceLinkModelsByTestCaseId
(String userKey, Long testCaseId) Returns aList
ofTraceLinkModel
related to a given testCaseId.getTraceLinkModelsByTestCycleId
(String userKey, Long testCycleId) Returns aList
ofTraceLinkModel
related to a given testCycleId.getTraceLinkModelsByTestExecutionId
(String userKey, Long testExecutionId) Returns aList
ofTraceLinkModel
related to a given testExecutionId.
-
Method Details
-
getTraceLinkModelsByTestCaseId
Returns aList
ofTraceLinkModel
related to a given testCaseId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.testCaseId
- the id of the Test Case.- Returns:
- a
ServiceResult
containing aList
ofTraceLinkModel
with the TraceLinks related to the testCaseId. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTraceLinkModelsByTestCycleId
ServiceResult<List<TraceLinkModel>> getTraceLinkModelsByTestCycleId(String userKey, Long testCycleId) Returns aList
ofTraceLinkModel
related to a given testCycleId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.testCycleId
- the id of the Test Cycle.- Returns:
- a
ServiceResult
containing aList
ofTraceLinkModel
with the TraceLinks related to the testCycleId. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTraceLinkModelsByTestExecutionId
ServiceResult<List<TraceLinkModel>> getTraceLinkModelsByTestExecutionId(String userKey, Long testExecutionId) Returns aList
ofTraceLinkModel
related to a given testExecutionId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.testExecutionId
- the id of the Test Execution.- Returns:
- a
ServiceResult
containing aList
ofTraceLinkModel
with the TraceLinks related to the testExecutionId. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTestCaseTraceLinkCountByIssueId
Returns the number of TraceLinks between an Issue and TestCase that exist for the provided issueId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.issueId
- the id of the Issue.- Returns:
- a
ServiceResult
containing aLong
with the number of TraceLinks between an Issue and the TestCases that exist for the provided issueId. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-