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!
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):
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.