Problem: How to create a notification configuration that would send out digest of changes and comments in issues happened since yesterday?
Solution
1) Create a new Notification configuration of type "Jira issues digested messaging".
2) Set the value to Fired on input. This should be a CRON expression that represents when the notification configuration should be run. Use www.cronmaker.com to generate it for you.
For example, the value "0 0 9 1/1 * ? *" means that the notification configuration will be run at 9AM every day. When you enter your cron, Raley will show you when it will be run the next time as follows:
6) Finally, specify a message template. You can use our Template Wizard to simplify generation of the template, just make sure you use Table layout so, issues will be shown as HTML table.
Here's a little example on how to render both, changes and comments added since yesterday. By yesterday, here we mean current time of notification configuration execution - 24 hours.
#foreach ($issue in $issues) #foreach ($history in $issue.changelog.histories) #if ($jirassimo.isAfter($history.created, $context.yesterday)) #foreach ($item in $history.items) $item.field was changed from $item.fromString to $item.toString #end #end #end #foreach ($comment in $issue.fields.comment.comments) #if ($jirassimo.isAfter($comment.created, $context.yesterday)) Comment by $comment.author.name: $comment.body #end #end #end