Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Project Created notification through web-hook is not working with Slack

Deleted user June 22, 2020

Hello All,

I am trying to set up the Web-hook to our Slack that notifies our admins when a new project is created in out JIRA Platform. But for some reason notifications is not being send to Slack. Has anyone came across this issue or knows of alternative ways to set up this solution?

Thank you in advance.

1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2020

Hi Nataliia, welcome to the Community!

I'm assuming you're using the built-in webhook capability, which does have an event for new project creation. Unfortunately the webhooks only provide a configuration for the URL (and not the body), but the Slack API requires their incoming webhooks to have a body in order to create a message.

We have an open feature request for the ability to have a custom body in Jira's webhooks: JRACLOUD-63205 

As an alternative, you might be able to make use of the Scriptrunner app - the Script Listener function in Scriptrunner essentially builds on the webhook capabilities. You could still trigger an execution on a Project Create event, but using Scriptrunner you could execute your own script. Here's an example of someone using Scriptrunner to send a message to Slack.

While I can't support Scriptrunner specifically, there are other experts on the Community who can answer questions about it if you choose to go that route.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events