Invalid license: Your Refined is only licensed for 10 users.

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

Compare with Current View Page History

« Previous Version 2 Next »

Problem:  How to create a messenger that would send out digest of changes and comments in issues happened since yesterday?

Solution: Create a Custom Scheduled messenger and the following CRON: 0 9 * * *


And use the following message template:

#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