Untitled
unknown
plain_text
5 months ago
880 B
3
Indexable
#set($project = $trackerService.getProject("your-project-id")) #set($query = "type:task AND status:open") ## Customize the query as needed #set($workItems = $trackerService.queryWorkItems($query, "id", 100)) <h2>General Work Item Report for Project: $project.name</h2> <table border="1" style="border-collapse: collapse; width: 100%;"> <tr> <th>ID</th> <th>Title</th> <th>Status</th> <th>Type</th> <th>Assignee</th> <th>Created Date</th> </tr> #foreach($workItem in $workItems) <tr> <td><a href="$workItem.url">$workItem.id</a></td> <td>$workItem.title</td> <td>$workItem.status.name</td> <td>$workItem.type.name</td> <td>#if($workItem.assignee)$workItem.assignee.name#else Unassigned#end</td> <td>$dateTool.format("yyyy-MM-dd", $workItem.created)</td> </tr> #end </table> <p>Total Work Items: $workItems.size()</p>
Editor is loading...
Leave a Comment