Uploaded image for project: 'Atlassian Product Integrations'
  1. Atlassian Product Integrations
  2. API-3

Allow users to set notifications on slack based on JQL filters

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • None
    • Jira Cloud for Slack
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We use slack as our internal communication tool. We've set it up in a way that each slack channel is correspondent to a Jira Epic Issue. Though we've integrated slack with Jira through the native connector, we can only edit the notifications based on the issue type, priority and security level(when on). We'd like to set it up in a way that we could use a JQL to specifically show what's related to that channel/epic issue. I believe the benefits are great when you are able to customize it

            [API-3] Allow users to set notifications on slack based on JQL filters

            jon added a comment -

            I envision this working in a way where a specific slack channel can receive updates in a chronological manner (every day at 9am) based on a complex JQL filter (such as issues that have been in a certain status for longer than n days). 

             

            I don't believe that is allowed. Should I request this feature?

            jon added a comment - I envision this working in a way where a specific slack channel can receive updates in a chronological manner (every day at 9am) based on a complex JQL filter (such as issues that have been in a certain status for longer than n days).    I don't believe that is allowed. Should I request this feature?

            4473f5bf1aa8, this ticket helps customers who are trying to get notifications for tickets that full under a specific criteria, via JQL search. Today we do not have support for getting notifications that fall under a specific criteria via the Jira cloud for Slack app.

            That said, you should be able to achieve this with Automation for Jira- it will let you monitor for specific fields to be changed, and post a message into a specific channel. 

            I hope this helps

            Trevor

            Trevor Thompson (Inactive) added a comment - 4473f5bf1aa8 , this ticket helps customers who are trying to get notifications for tickets that full under a specific criteria, via JQL search. Today we do not have support for getting notifications that fall under a specific criteria via the Jira cloud for Slack app. That said, you should be able to achieve this with Automation for Jira- it will let you monitor for specific fields to be changed, and post a message into a specific channel.  I hope this helps Trevor

            Ben Golder added a comment -

            Hi Trev

             

            Any updated documentation on this? We're trying to get notifications sent to a slack channel based on an "when a custom field updates to anything, post in X channel" logic with a filter I set up and having a hard time figuring out how to do this.

            This ticket sounds like it addresses that.

            Ben Golder added a comment - Hi Trev   Any updated documentation on this? We're trying to get notifications sent to a slack channel based on an "when a custom field updates to anything, post in X channel" logic with a filter I set up and having a hard time figuring out how to do this. This ticket sounds like it addresses that.

            Hi, 

            Is there any documentation on this that can help us understand the steps for this feature?

            Vatsala Bhutani added a comment - Hi,  Is there any documentation on this that can help us understand the steps for this feature?

            Stanzilla added a comment -

            Any news here? 

            Stanzilla added a comment - Any news here? 

            We are trying to create multiple slack channel integrations from the same project based upon a JQL filter that contains a custom field.  It appears that when we can a new slack channel integration, the JQL from the already configured integrations are removed.  I saw some mention of this "limitation" on a https://community.atlassian.com/t5/Jira-questions/How-to-filter-notifications-using-JIRA-Cloud-Slack-integration/qaq-p/679918 that indicated that there is a limitation of one slack channel JQL based integration per project.  I search for any documentation on this but couldn't find anything.  Can you please confirm if there is such a limitation?  If there is, do you plan on changing that?

            cbaker@vistaprint.com added a comment - We are trying to create multiple slack channel integrations from the same project based upon a JQL filter that contains a custom field.  It appears that when we can a new slack channel integration, the JQL from the already configured integrations are removed.  I saw some mention of this "limitation" on a  https://community.atlassian.com/t5/Jira-questions/How-to-filter-notifications-using-JIRA-Cloud-Slack-integration/qaq-p/679918  that indicated that there is a limitation of one slack channel JQL based integration per project.  I search for any documentation on this but couldn't find anything.  Can you please confirm if there is such a limitation?  If there is, do you plan on changing that?

            Hi f716a5cc195d that is not a known issue, do you mind opening a ticket at https://support.atlassian.com/ and we can help look into it? thanks!

            Trevor Thompson (Inactive) added a comment - Hi f716a5cc195d  that is not a known issue, do you mind opening a ticket at  https://support.atlassian.com/  and we can help look into it? thanks!

            Irini added a comment - - edited

            I create a JQL filter `(Sprint is not EMPTY) AND (Sprint in (openSprints()))` and then check the "Issues transitioned to <choice>" checkbox, but the filter doesn't apply, and I see the transitions to <choice> of all tickets regardless of the sprint they belong to. 
            Is this a known error? 

            Irini added a comment - - edited I create a JQL filter `(Sprint is not EMPTY) AND (Sprint in (openSprints()))` and then check the "Issues transitioned to <choice>" checkbox, but the filter doesn't apply, and I see the transitions to <choice> of all tickets regardless of the sprint they belong to.  Is this a known error? 

            John Tolle added a comment -

            Thank you, @Trevor, for getting this completed!

            I have two suggestions (hopefully you're going to tell me I'm a fool because these already exist or that they're at least part of another issue already:

            1. Add global Slack configuration: For example, enter one line of JQL that would cross all projects (just like a normal JQL search can) to do something like notifying a single user via Slack about any issues in which (s)he is mentioned, assigned to, etc.  Currently, it's necessary to enter JQL for each user for each project.  50 users x 50 projects = 2500 lines of JQL instead of only 50!
            2. Add more triggers: At least add a very simple one: Issue Edited (whenever anything changes with an issue).  Currently, updates to most fields cannot trigger a Slack notification.

            John Tolle added a comment - Thank you, @Trevor, for getting this completed! I have two suggestions (hopefully you're going to tell me I'm a fool because these already exist or that they're at least part of another issue already: Add global Slack configuration : For example, enter one line of JQL that would cross all  projects (just like a normal JQL search can) to do something like notifying a single user via Slack about any issues in which (s)he is mentioned, assigned to, etc.  Currently, it's necessary to enter JQL for each user for each project.  50 users x 50 projects = 2500 lines of JQL instead of only 50! Add more triggers : At least add a very simple one: Issue Edited (whenever anything changes with an issue).  Currently, updates to most fields cannot trigger a Slack notification.

            Thanks for adding this feature!

            The notification doesn't seem to work if there is a transition screen for a status.

            In my project notification, I entered/selected:

             

            Filter:{{ Platform in (Console)}}

            Issue transitioned to: Ready for Technical Review

             

            I have a transition screen for the Ready for Technical Review step, and did not receive a Slack notification when I transitioned a ticket that matches this notification setting.

            However, if I change Issue transitioned to to a status that doesn't have a notification screen, I do receive a Slack notification.

            Michelle Parsons added a comment - Thanks for adding this feature! The notification doesn't seem to work if there is a transition screen for a status. In my project notification, I entered/selected:   Filter: {{ Platform in (Console)}} Issue transitioned to: Ready for Technical Review   I have a transition screen for the Ready for Technical Review step, and did not receive a Slack notification when I transitioned a ticket that matches this notification setting. However, if I change  Issue transitioned to to a status that doesn't have a notification screen, I do receive a Slack notification.

            Thanks @Trevor  This is indeed much needed feature.

            I need some more info as we have a requirement where we run JQL filter query once a day and send results to a slack channel. Jira allows Slack integration but how to set a daily triggering event in Jira for same?

            Hitesh Gupta added a comment - Thanks @Trevor  This is indeed much needed feature. I need some more info as we have a requirement where we run JQL filter query once a day and send results to a slack channel. Jira allows Slack integration but how to set a daily triggering event in Jira for same?

            linder (Inactive) added a comment - - edited

            bryan750998172 That JQL validates just fine, so it should be saving correctly. My guess is that none of the Jira issues match the JQL. Assuming you're trying to catch mentions of you on Jira tickets, it's probably because Jira mentions have a space between your first and last names (see the mention at the beginning of this comment), so nothing matches “BryanGoldberg”. I bet it will work if you change it to the following: 

            (summary ~ "Bryan Goldberg" OR description ~ "Bryan Goldberg" OR comment ~ "Bryan Goldberg") and updatedDate >= -7d

            linder (Inactive) added a comment - - edited bryan750998172 That JQL validates just fine, so it should be saving correctly. My guess is that none of the Jira issues match the JQL. Assuming you're trying to catch mentions of you on Jira tickets, it's probably because Jira mentions have a space between your first and last names (see the mention at the beginning of this comment), so nothing matches “BryanGoldberg”. I bet it will work if you change it to the following:  (summary ~ "Bryan Goldberg" OR description ~ "Bryan Goldberg" OR comment ~ "Bryan Goldberg" ) and updatedDate >= -7d

            BG added a comment -

            I tried the following but couldn't get it work :\

            (summary ~ BryanGoldberg OR description ~ BryanGoldberg OR comment ~ BryanGoldberg) and updatedDate >= -7d

            BG added a comment - I tried the following but couldn't get it work :\ (summary ~ BryanGoldberg OR description ~ BryanGoldberg OR comment ~ BryanGoldberg) and updatedDate >= -7d

            🎉🎉🎉 will start using it top of the morning, appreciated!

            Jakob Straub added a comment - 🎉🎉🎉 will start using it top of the morning, appreciated!

            Hi everyone!

            This feature has been released to all users! If you have any issues please report them here  

            Trevor Thompson (Inactive) added a comment - Hi everyone! This feature has been released to all users! If you have any issues please report them here  

            John Tolle added a comment -

            Form submitted, Trevor - bring on the beta testing as we are dying for this feature!

            John Tolle added a comment - Form submitted, Trevor - bring on the beta testing as we are dying for this feature!

            Hi Trevor. I really need this feature, when is the beta opened?

            Rob Boelhouwer added a comment - Hi Trevor. I really need this feature, when is the beta opened?

            Hi everyone!

            We're looking for some help beta testing this feature. We'd love to include you all so we can hear your feedback and you can help us build an awesome experience!

             

            If you fill out this form, I'll add you to the beta list and you'll hear from me soon  

            https://forms.gle/7mfzSRpwbiVJRLVEA

             

            Trevor Thompson

            Product Manager, Product Integrations

            Trevor Thompson (Inactive) added a comment - Hi everyone! We're looking for some help beta testing this feature. We'd love to include you all so we can hear your feedback and you can help us build an awesome experience!   If you fill out this form, I'll add you to the beta list and you'll hear from me soon   https://forms.gle/7mfzSRpwbiVJRLVEA   Trevor Thompson Product Manager, Product Integrations

            Do you have an stimated release date?

            Fabricio Vagliente added a comment - Do you have an stimated release date?

            BG added a comment -

            +1 would love to know ETA

            BG added a comment - +1 would love to know ETA

            Yam Yamam added a comment -

            +1 looking for ETA

            Yam Yamam added a comment - +1 looking for ETA

            Piotr Boho added a comment - - edited

            I love you , all  who updates this issue with so important comments "+1 looking for ETA" - Do you think this is a keyword for Vote for this issue option ? I haven't found this documented
            I'm just wondering am I the only person who waits for a real update from Jira team rather then all +1..looking...ETA

            Piotr Boho added a comment - - edited I love you , all  who updates this issue with so important comments " +1 looking for ETA " - Do you think this is a keyword for Vote for this issue  option ? I haven't found this documented I'm just wondering am I the only person who waits for a real update from Jira team rather then all +1..looking...ETA

            Amr Farid added a comment -

            +1 looking for ETA

            Amr Farid added a comment - +1 looking for ETA

            +1 ETA please

             

            Vishal Kuchanur added a comment - +1 ETA please  

            It's great that you're working on this - we don't all need to know when small changes are made.

            Doug Reeder added a comment - It's great that you're working on this - we don't all need to know when small changes are made.

            +1 and looking for ETA

            Santhosh Reddy added a comment - +1 and looking for ETA

            Would love to see this feature. Is there an eta on release date?

            Kim St. Dennis added a comment - Would love to see this feature. Is there an eta on release date?

            This would be so helpful for us to map a board to a channel instead of a whole project.  Trevor - keep us updated on timeline! 

            Jessica Brunelle added a comment - This would be so helpful for us to map a board to a channel instead of a whole project.  Trevor - keep us updated on timeline! 

            would love to be able to map a board to a channel

            juan.reigosa added a comment - would love to be able to map a board to a channel

            Hey all! 

            I'm putting this ticket to "In Progress" as we've started working on this functionality. Stay tuned for updates via this ticket!

            Trevor
            Product Manager, Integrations @ Atlassian

            Trevor Thompson (Inactive) added a comment - - edited Hey all!  I'm putting this ticket to "In Progress" as we've started working on this functionality. Stay tuned for updates via this ticket! Trevor Product Manager, Integrations @ Atlassian

            Piotr Boho added a comment -

            Guys, just vote.
            Every comment triggers email to all who tracks this issue

            Piotr Boho added a comment - Guys, just vote. Every comment triggers email to all who tracks this issue

            Yes, our company would like this also, +1

            Eric Sherman added a comment - Yes, our company would like this also, +1

            Is there any status update on this?

             

            Adam Tharani added a comment - Is there any status update on this?  

            +1

            +1 want this!

            Nathan Puźniak-Holford added a comment - +1 want this!

            +1

            +1

            Aaron Williams added a comment - +1

            +1 yes, definitely!

            Sergejs Zaharovs added a comment - +1 yes, definitely!

            +1 to be able to filter by components or JQL

            Fernando Santos de Mattos Brito added a comment - - edited +1 to be able to filter by components or JQL

            csemnani added a comment -

            +1 yes, this would be awesome!

            csemnani added a comment - +1 yes, this would be awesome!

            +1 yes, please!

            Alex Myroshnichenko added a comment - +1 yes, please!

            +1 I really need it, it generates so much noise it's useless without this feature!

            Vladi Bar-On added a comment - +1 I really need it, it generates so much noise it's useless without this feature!

            +1

            Ritesh Dhore added a comment - +1

            +1

            Seema Rane added a comment - +1

            +1

            Suruchi Sinha added a comment - +1

            Igal Dar added a comment -

            +1

            Igal Dar added a comment - +1

            +1

            Simon Dardis added a comment - +1

            +1

            Toma Tabacu added a comment - +1

            +1

            Pradeep G N added a comment - +1

            +1

            Gary Ellison added a comment - +1

            +1

            Matt Redfearn added a comment - +1

            +1

            Matthew added a comment -

            +1 Given that every way of working with jira requires tradeoffs you almost always end up with multiple teams in a project working closely but with separate concerns. Component level filtering would be a massive improvement prior to having more general JQL in my opinion

            Matthew added a comment - +1 Given that every way of working with jira requires tradeoffs you almost always end up with multiple teams in a project working closely but with separate concerns. Component level filtering would be a massive improvement prior to having more general JQL in my opinion

            Anil kumar added a comment -

            +1 This would help us a LOT. I believe we all have to turn the notifications off or it becomes way too noisy. Would love if you could filter based on a particular epic and so on

            Anil kumar added a comment - +1 This would help us a LOT. I believe we all have to turn the notifications off or it becomes way too noisy. Would love if you could filter based on a particular epic and so on

            Eric Hayes added a comment -

            +1 this would be great. Right now sending all ticket updates to the same channel is pretty unwieldy. Some basic filtering would be incredibly useful for toning down all the noise.

            Eric Hayes added a comment - +1 this would be great. Right now sending all ticket updates to the same channel is pretty unwieldy. Some basic filtering would be incredibly useful for toning down all the noise.

              tthompson3@atlassian.com Trevor Thompson (Inactive)
              thiago.pasos Thiago Pasos
              Votes:
              329 Vote for this issue
              Watchers:
              195 Start watching this issue

                Created:
                Updated:
                Resolved: