Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

(Next Gen Project) -- Is there a way to have a daily digest email/slack/notification sent?

Jackson Yellen December 14, 2020

Hi! I'm trying to build a notification that creates a summary of the day's updates, issue creations, etc. Anything and everything that occurred on our board for the day so that outside stakeholders are able to review as needed? Does anyone have any idea how to do this on a Next-gen-project? I've seen plenty of ways to go about it for a classic project.

Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2020

Hi Jackson, welcome to the Community!

For this case, I'd recommend using a Jira Automation rule. You can run the rule on a schedule (for example every morning). The first action in the rule would be an issue lookup, based on JQL that captures issues updated that day. For example, this would get any issues updated in the last 24 hours:

project = "Your Project" and updated > -1d

Next, you'd use a Slack notification (or email) rule to send a message. The Lookup value here would iterate through all the issues returned by the search. You might use something like:

The following issues were updated in the last day:

{{#lookupIssues}}
* <{{url}}|{{key}}> - {{summary}}
{{/}}

Here's a similar rule for reference (from this article):

rule-lookup-issues (1).png

This method will work for both Classic and Next Gen projects! You can modify the Slack message as you need, or swap it out with an email notification instead.

Cheers,
Daniel

 

Related reading:

Jackson Yellen December 14, 2020

Thank you!

Jackson Yellen December 14, 2020

Hi Daniel,

 

This is helpful, however, I'm receiving an update on every single task that occurred within our company. How can I receive just what occurred on a specific board?

Thanks!

Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2020

Hi Jackson,

From the JQL we were looking at for the issuelookup:

project = "Your Project" and updated > -1d

The "project" part of the JQL filter should scope it down to a particular project. With Next-Gen, this should capture what's on the board, as Next Gen projects don't have scoped filters for their board (they just have one board, and it shows all the issues in the project unless the backlog has been enabled).

If you've got a Classic project and the board pulls issues from multiple projects, you can use JQL like this to get issues on that board:

filter = "Filter for Your Board"

where 'Your Board' is the name of the board.

Jackson Yellen December 15, 2020

I figured it out based on the original logic you provided. It's almost there! I'm trying to determine how I would go about adding the most recent comment to each of the issues that are listed out?

 

Generally, I'm trying to understand how I can make this more detailed. I saw that this value is available:

 

{{comment.body}}

 

Any suggestions?

Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2020

Good deducing! The comments will return as a list. To get the most recent one, you can use a function:

{{comment.last.body}}

That should return the text! If you need something like the author, you can change the value:

{{comment.last.author}}
Jackson Yellen December 21, 2020

Thanks, I'm all set here! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events