Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

schedule the sending of emails with written comments during the day Edited

I want to receive a daily email of the comments written during the day

 

using jira automatisms

 

who can help me?

1 answer

0 votes

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

129 views 1 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you