Wiki source code of TestJiras
Version 2.1 by Ludovic Dubost on 2011/02/18
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #foreach($item in $xwiki.searchDocuments(", BaseObject as obj where doc.fullName=obj.name and obj.className='TestReports.TestPlanClass'")) | ||
3 | #set($itemdoc = $xwiki.getDocument($item)) | ||
4 | #set($jiras = $itemdoc.getValue("reportedJiras")) | ||
5 | #set($ijiras = $itemdoc.getValue("importantJiras")) | ||
6 | #if(($jiras && $jiras!="")||($ijiras && $ijiras!="")) | ||
7 | == $itemdoc.getDisplayTitle() == | ||
8 | |||
9 | #if($ijiras && $ijiras!="") | ||
10 | * Important JIRAS: {{jira}}$!ijiras{{/jira}} | ||
11 | #end | ||
12 | #if($jiras && $jiras!="") | ||
13 | * Other JIRAS: {{jira}}$!jiras{{/jira}} | ||
14 | #end | ||
15 | #end | ||
16 | #end | ||
17 | {{/velocity}} |