You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Email subject:

Email subject
#foreach ($issue in $issues)
   #if ($velocityCount == 1)
      Daily digest of issues in progress and past due
   #end
#end


Message template:


Message template
Issues that have past due date <br/><br/>

<table border=1>
    <tr>
       <th>key</th>
       <th>summary</th>
       <th>assignee email</th> 
    </tr>
    #foreach ($issue in $issues)
       #if ($issue.fields.duedate and $jirassimo.isAfter($issue.fields.duedate, $context.today))   
          <tr>
             <td>$issue.key</td>
             <td>$issue.fields.summary</td>
             <td>$!issue.fields.assignee.emailAddress </td>
          </tr>
       #end
    #end
</table>


<br/><br/>
Issues that are In Progress<br/><br/>
<table border=1>
    <tr>
       <th>key</th>
       <th>summary</th>
       <th>assignee email</th> 
    </tr>
    #foreach ($issue in $issues)   
       #if ($issue.fields.status.name == "In Progress" and $issue.fields.duedate and !$jirassimo.isAfter($issue.fields.duedate, $context.today))   
          <tr>
             <td>$issue.key</td>
             <td>$issue.fields.summary</td>
             <td>$!issue.fields.assignee.emailAddress </td>
          </tr>
       #end
    #end
</table>