The label that I would like to trigger the slack notification, when added is
Labels in (Hotfix)
The only triggering event that causes this to update the slack channel is "Issue Updated"
However, as long as that label stays on the ticket, the slack channel will continue to be updated with any change to the ticket.
I thought the following query would limit this:
Labels in (Hotfix) AND created <= "-10m"
Limiting the updates that would trigger a notification to occur only with in the first 10 minutes of the creation. This did not work.
Any thoughts? I was wondering if I might be able to create a "Generic Event", but I am not 100% how that works.
Thank you for your time.
Hey, welcome to the Community!
How does an Automation rule sound? The following automation rule will trigger when the "hotfix" label is added to an issue (but not when it's removed, and not when other labels are added!)
The key lies in the two Advanced compare conditions:
{{#changelog.labels.toString}}{{.}}{{/}}
{{#changelog.labels.fromString}}{{.}}{{/}}
Once the conditions are set up, as an action for the rule, you can send a message to Slack.
Automation is native to Jira Cloud, but on Server you'll need to install the Automation for Jira app. Let me know if I can answer any follow-up questions!
Cheers,
Daniel | Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.