Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
%{'${defects}'.replace(/,\s*$/, '')}

Test

Requirements linked to/covered by a given Test

The following examples assume the current context is a Test issue.

Requirements linked to/covered by a given Test


Status
titleSERVERDC

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
colourBlue
titleCLOUD

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
titleSERVERDC
 
Status
colourBlue
titleCLOUD

Code Block
#{for testruns}
 ${TestRuns[n].Execution Status}
#{end}

Preconditions associated with a Test

Status
titleSERVERDC
 
Status
colourBlue
titleCLOUD

Code Block
#{for preconditions}
    ${PreConditions[n].Key}
    ${PreConditions[n].Summary}
    ${PreConditions[n].Description}
#{end}

...