Forums

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

I want to put automation to send the slack message based on release date.

Ashutosh Palania
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2023

I want to put automation to send the slack message based on release date.
example: if release is set to 28th june, i want to send slack notification that tomorrow is release.

1 answer

2 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 28, 2023

Howdy @Ashutosh Palania , welcome to the Community!

I'll explain an automation rule that can do this in loose terms, without prototyping it out and taking screenshots along the way. This will be yours to implement, and I'll be here to answer follow-up questions if you get stuck.

 

Rule Trigger

The most straightforward trigger is a Scheduled rule that runs daily.

 

Action 1: Lookup Issues

Use JQL that match the project/issue types you're interested in. Assuming you've got the Release Date in a custom field already, this is where you'd filter that. Something like this should capture issues whose release date is tomorrow (make sure to update the custom field name):

"Release Date" <= endOfDay("+1") and "Release Date" >= startOfDay("+1")

Action 2: Send Slack message

This is a sample message that will include all the issues set to be released in a single Slack message:

These issue(s) are scheduled for release tomorrow:

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

If there are multiple issues with tomorrow as a release date, the Slack message will look something like this:

image.png

 

And customize as you see fit!

Cheers,
Daniel

Suggest an answer

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

Atlassian Community Events