Interface TraceLinkService
public interface TraceLinkService
Responsible for all management of TraceLink entities within Zephyr.
-
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 aListofTraceLinkModelrelated to a given testCaseId.getTraceLinkModelsByTestCycleId(String userKey, Long testCycleId) Returns aListofTraceLinkModelrelated to a given testCycleId.getTraceLinkModelsByTestExecutionId(String userKey, Long testExecutionId) Returns aListofTraceLinkModelrelated to a given testExecutionId.
-
Method Details
-
getTraceLinkModelsByTestCaseId
Returns aListofTraceLinkModelrelated 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
ServiceResultcontaining aListofTraceLinkModelwith the TraceLinks related to the testCaseId. The result will also contains aValidationResultthat 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 aListofTraceLinkModelrelated 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
ServiceResultcontaining aListofTraceLinkModelwith the TraceLinks related to the testCycleId. The result will also contains aValidationResultthat 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 aListofTraceLinkModelrelated 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
ServiceResultcontaining aListofTraceLinkModelwith the TraceLinks related to the testExecutionId. The result will also contains aValidationResultthat 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
ServiceResultcontaining aLongwith the number of TraceLinks between an Issue and the TestCases that exist for the provided issueId. The result will also contains aValidationResultthat will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-