Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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: Multiple Notification Conditions

Hello! I am working on setting up integrations for my Jira Service Desk with our Slack channels. I noticed that it will not let me setup two different integrations for a single channel so I have a scenario I am looking to see if anyone has advice on.

First let me say, I am aware of the webhook options too but I see that is subject to deprecation so am looking mainly on if the below is feasible in the Slack Connection portion.

I have a single channel and would like Jira to notify the channel for the following 2 scenarios:

- A ticket has a specific label added to it

OR

- A ticket has a comment added when it is in a specific status.

I have the second bullet above configured but can not seem to figure out how to add in the second condition since I can only have a single channel connection based off of a single query. Essentially these are 2 completely different notification scenarios I want notified in the same channel.

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Katie Pickrell 

Are you using Jira Cloud or Server/DataCenter? If Cloud, you could create an automation rule in the Automation section, where you can select a trigger or Comment Added or Field Updated (and then select the Labels field). You can then add conditions to further restrict when the Slack messages should be sent, and use the Send Slack Message action to send a Slack message to a given channel. Using automation rules over the built-in Slack integration means you can set up as many automation rules as you want to send Slack messages to the same or different channels.

If you are using Jira Server or Data Center, you would need to install Automation for Jira to use the same automation rule functionality, but the setup of the rules would be virtually the same once you've got this add-on

Hi! We have Jira Cloud. I was just weary of doing that because it said it was legacy functionally that was going to be deprecated so only the new Slack integration itself would be available. 

Hi @Katie Pickrell

Just to clarify, it's only the legacy automation features which are being deprecated - you can read about this here.

The features you can access via "Automation" are fully supported, including the support for Slack:

Hope this helps!

Best,

Charlie

Hi Charlie - So that is where I am at. I go to my Service Desk project, go to Project Settings, select Automation and build a new rule like the one seen below. When I add the Slack option it prompts for a webhook and that page is what indicates the deprecation. Both screenshots are below for reference. 

Screen Shot 2021-11-10 at 2.26.14 PM.pngScreen Shot 2021-11-10 at 2.28.13 PM.png

Hi Kate,

Thanks for confirming! At this stage, webhooks are the best option for implementing  automation rules for any use cases that aren't fully supported through the Slack Connection.

Cheers,
Charlie

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

89 views 0 3
Read article

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