Hello @Carlos ,
There is a limitation to this that makes things a bit difficult. The "Comment" field does not have a dedicated JQL that can be tied to a comment being added during a specific timeframe rather the comment field only allows for searching for comments containing or excluding the specified text. So when a comment is added it will fall under the issue updated trigger event for JQL searching, so using something like "updated >= startOfDay()" for any issue that had a comment added or had any other actions such as a field modification take place would fall into the result set.
However, the limitation in the JQL looks like you could use the third party add-on ScriptRunner as a workaround via the extended JQL functions provided by the tool as discussed in the following thread:
Next being aware of the possibility of additional data with this limitation in the JQL or the need to use an additional toolset in a third party app, Using Automation for Jira you could set up a rule on a Schedule Trigger event for once a day Fixed Rate or Advanced CRON expression, to define the time interval.
Within the "scheduled" trigger you can flag the option to "Run a JQL search and execute actions for each issue in the query." and use something like "updated >= startOfDay()" as the filter.
Then add in a Send e-mail action using Smart values such as "{{issue.key}}
" and "{{issue.comments}}"to include the issue details you are looking for, with each issue that meets the criteria.
There is an example in the documentation at the section for "{{issue.comments}}" showing how to list each comment that an issue has, and include the author and creation date/time, the example being:
{{#issue.comments}}
Comment by: {{author.displayName}} at: {{created}}
{{body}}
{{/}}
//returns
Comment by: Alana at: 2019-05-30T15:36:02.3+0000
Hey team, how are we tracking on this task?
Comment by: Jose at: 2019-05-30T15:40:57.0+0000
We'll be ready to ship at the end of the week.
Comment by: Alana at: 2019-05-30T15:44:15.7+0000
Great, thanks for the update!
Note that there are options to show either single comment actions like the most recent comment OR all comments on an issue per the JQL criteria, and there would not be a method to only isolate the comments of a single day, without sending a notification for each comment event individually throughout the day as the comment is added.
Additionally, there is a feature request relating to this that we are looking for feedback on, Initially we had a separate request specifically for a daily Digest email Viewable here, that we closed out and wrapped into the following request that is an overarching Email feature request to "Reduce JIRA email chattiness":
On that request, there is a link to a product feedback survey specifically relating to this, that I highly recommend checking out if you have the time to fill it out.
Regards,
Earl
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.