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.
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:
And customize as you see fit!
Cheers,
Daniel
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.