Slack notifications not working when creating new issues

Portales July 1, 2020

Notifications are not being sent for new issues to Slack.

The Slack webhook is properly configured and running, since I am receiving notifications for all issues transitions to my Slack channel, except when creating New Issues from scratch. 

1 answer

1 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2020

Hi Portales, welcome to the Community!

Given that there are a few Slack connectors for Jira Server, can you confirm which one you've got installed? A screenshot of the app in the Manage Apps page in Jira would be helpful (unless you know for sure which one it is already).

For the Atlassian-provided app, there's a per-project configuration screen. Would you be able to take a screenshot of that screen for the project/configuration that's giving you trouble? Here's an example:
image.png

If you find that there's no configuration but you've got the official Atlassian plugin installed, it's possible that a Post Function was set up to send a message to Slack. The Create transition in the workflow might not have the post function while the other workflow steps do. I would generally recommend just using the standard configurations available through the Slack integrations / project options, unless you have some specific advanced need that requires using a workflow postfunction. All these different configurations are detailed in the documentation for the app. 

Hope that provided a little clarity and I'm here to help!

Cheers,
Daniel

Portales July 10, 2020

Hi Daniel, thanks for you reply.

I'm attaching the screenshots of both the Slack app version and the Slack webhook events configuration.

We are not using the App since our Jira Server is in a restricted environment (own domain) behind a firewall, however this is not a problem, as we are receiving notificactions for all issues transitions, events and changes, the only notification that is not arriving is the one when New issues are created.

Regarding post-functions, we have none. Just in case I already tried adding a new one that forces to trigger the Slack notification when issues are created but didn't work either, so I took it out.

Portales July 10, 2020

jssevents.pngjss2011.jpg

Mykhailo Vlasov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2020

Hi @Portales ! 

Based on your screenshot I conclude that you configured a webhook, not a Slack plugin. You can configure Slack plugin by going to Administration -> Applications -> Slack. Find more information on Slack plugin configuration and usage on our documentation page.

Portales July 16, 2020

Hi @Mykhailo Vlasov

Thanks for your response.

Yes, we are using a webhook since our Jira Server is behind a firewall, as the Atlassian documentation reccomends to use.

In any case, it should notify us when new issues are being created (as per the webhook configuration screenshot shows, you can check/uncheck that specifically), but it does not.

So the issue still remains, I checked other forums/community posts that people mention this issue as well.

Mykhailo Vlasov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2020

@Portales Webhooks configuration is absolutely unrelated to Slack plugin configuration. You may delete webhook configuration you added manually, configure properly Slack plugin and it will send notifications even from instance that is behind the firewall. Here is the section in the documentation that describes this case.

Portales August 14, 2020

Hi @Mykhailo Vlasov

I removed the webhook configuration and reinstalled the Slack plugin, but it is still not sending notifications when new issues are created.

The documentation you shared is not accesible anymore in the mentioned location, could you please share the updated URL?

Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2020

@Portales there's currently an issue with how Community is handling some hyperlinks. The document is still at its original location, but you'll need to copy/paste this link in your browser to access it (clicking the link at the moment will take you to an error page):

https://confluence.atlassian.com/slack/using-jira-applications-with-slack-966662163.html#UsingJiraapplicationswithSlack-IusemultipleJiraServerinstancesormyinstancesarebehindafirewall.HowdoIconnectthemtoSlack? 
Like Mykhailo Vlasov likes this

Suggest an answer

Log in or Sign up to answer