I’m trying to join up my Zephyr Scale data to Jira user stories. We link epics to test cycles and test plans, and I’m looking to create a report which would display information per epic (e.g. description, status, assignee) alongside Zephyr Scale data such as number of linked test cycles, number of linked test plans. Is this possible?
Yes, you can combine Jira and Zephyr Scale data in one report.
Data on Jira issues are in the “Issue” dimension that works well together with issue properties and standard measures, like “Issue created”, “Story Points resolved”, etc. Issues with linked test cases are also available in the “TM4J Requirement” dimension that works well with TM4J specific measures and dimensions. You can start building a report from one of those dimensions (“Issues” or “TM4J Requirements”) and use calculated measures to refer to other dimesnion.
For example, you may use the “Issue” dimension on your report rows to represent epics and create calculated measures to represent metrics from Zephyr Scale (TM4J) data.
Set Issue dimension on rows and select Epic hierarchy.
On pages, you may set standard dimensions to filter issues (epics), like Priority, Assignee, Project, Status, etc.
On report columns, select issue properties you would like to see for your Epics, like “Issue status”, “Issue assignee”, and others.
Define a new calculated measure in Measures to count test cycles are related to the issue (epic). The calculation would go through all test cycles and check whether any of those are related to TM4J Requirementsmatching the Issue key. The expression might look like this:
NonZero(Count(
Filter(
--got through all Test Cycles
Descendants([TM4J Test Cycle].CurrentMember,[TM4J Test Cycle].[Test Cycle]),
--checkeck cycle relation to TM4J requirement matching epic key
DefaultContext((
[TM4J Requirement].[Requirement].GetMemberByKey(
[Issue].CurrentHierarchyMember.key),
[TM4J Test Cycle].CurrentHierarchyMember,
[Measures].[TM4J Test Cases with Test Cycles]
)) > 0
)
))
Define another calculated measure in Measures to count test plans related to the issue (epic). The expression might look like this:
NonZero(Count(
Filter(
--got through all Test Plans
Descendants([TM4J Test Plan].CurrentMember,[TM4J Test Plan].[Test Plan]),
DefaultContext((
[TM4J Requirement].[Requirement].GetMemberByKey(
[Issue].CurrentHierarchyMember.key),
[TM4J Test Plan].CurrentHierarchyMember,
[Measures].[TM4J Test Cases with Test Cycles]
)) > 0
)
))