Page History
...
Xray's built-in Document Generator feature, and also the Xporter Jira app, allows you to export information from Jira issues and supported Jira plugins, including Xray, to Word, Excel, PDF, or other type of documents.
...
Code Block |
---|
%{'${defects}'.replace(/,\s*$/, '')} |
...
...
Test
The following examples assume the current context is a Test issue.
Requirements linked to/covered by a given Test
Status | ||||
---|---|---|---|---|
|
Code Block |
---|
${set(Req,'')} #{for a=JQLIssuesCount|clause=key in testRequirements('${Key}')} #{if (%{'${Req}'.indexOf('${Key},')==-1})} ${set(Req,%{'${Req}'.concat('${JQLIssues[a].Key},')})} #{end} #{end} %{'${Req}'.replace(/,\s*$/, '')} |
...
Status | ||||
---|---|---|---|---|
|
Thie example assumes that the coverage of a "requirement"/story by the related Test issues is made using the issue link "tests".
Code Block |
---|
${set(Req,'')} #{for k=TestRuns[n].LinksCount|filter=%{'${TestRuns[n].Links[k].LinkType}'.equals('tests')}} #{if (%{'${Req}'.indexOf('${TestRuns[n].Links[k].Key}')==-1})} ${set(Req,%{'${Req}'.concat('${TestRuns[n].Links[k].Key},')})} #{end} #{end} %{'${Req}'.replace(/,\s*$/, '')}" |
Test Runs of a Test
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Code Block |
---|
#{for testruns} ${TestRuns[n].Execution Status} #{end} |
Preconditions associated with a Test
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Code Block |
---|
#{for preconditions} ${PreConditions[n].Key} ${PreConditions[n].Summary} ${PreConditions[n].Description} #{end} |
...
Code Block |
---|
#{for j=TestExecutionsCount} ${TestExecutions[j].Key} #{end} #{for testExecutions} ${TestExecutions[n].Key} #{end} #{for j=JQLIssuesCount|clause= key in testPlanTestExecutions('${Key}')} ${JQLIssues[j].Key} #{end} |
...
Test Run
Requirements indirectly linked to/covered by a given Test Run
...