Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA/Slack Flag Notification

Is it possible to trigger a Slack notification once an issue is flagged? I've looked at Notification Schemes and the Slack Integration settings, but I'm unable to find any options to achieve this.

1 answer

0 votes
Daniel Eads Atlassian Team Dec 10, 2020

Hi Adam,

There are a couple ways to trigger Slack notifications when an issue is flagged.

  1. Jira Cloud for Slack is the standard Slack integration and accessible from the "Slack integration" option in your project's settings. From there, you can use this filter to fire a notification when an issue is flagged to whatever channels you need:

    JQL Filter: Flagged = Impediment

    Issue is: updated

    image.png

    image.png

    The caveat here is that if the issue is updated while it is still flagged, more notifications will be triggered. For example, after flagging an issue with this method, I then re-prioritized it in the backlog, and a second notification was triggered:

    image.png

  2. Using an Automation rule, you can trigger a notification when the flag is added and only when the flag is added. In contrast to the previous method, only one notification will fire while the issue is flagged.
    image.png
    • Trigger: Field value changed
      • Fields to monitor for changes: Flagged
    • Condition: Issue fields condition
      • Field: Flagged
      • Condition: equals (in any order)
      • Value: Impediment
    • Action: Send Slack message

The only trick here is that flagging an issue stores a value in a custom field. Taking that into consideration, it's possible to filter for the flag with JQL or custom field comparisons, and then use the included tools (Slack integration and Automation) to trigger notifications.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,044 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you