jira - slack integration -- webhook always getting error 500

I'm trying to integrate JIRA 6.3.8 with slack but I don't see ever see the messages about tickets open or close in the slack channel. seeing error 500 in the logs. I can successfully see message in slack if I manually curl -X POST.

 

I've configured jira>Administration>System> Webhooks with the webhook URL I received from slack. (tried the slack URL from both the JIRA service and the incoming webhook)

when tailing the calatlina.out and I see:

2015-08-18 12:29:37,969 httpclient-callbacks:thread-103 WARN anonymous [atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'https://hooks.slack.com/services/blah/blah/blah?user_id=myUsername&user_key=myUsername', body is:

(obfuscated URL, user_id, user_key)


I am able to post to the channel manually from the OS on the JIRA server

curl -X POST --data-urlencode 'payload={"channel": "#general", "username": "test jira service", "text": "post to #general from webhook", "icon_emoji": ":ghost:"}' https://hooks.slack.com/services/blah/blah/blah

(obfuscated URL)

 

Any Ideas?

4 answers

1 accepted

slack's 'JIRA service' integration started working.all of a sudden, but the webhook integration never did.

also, experiencing this one. with curl everything went ok.

Also the same - JIRA 7.0.9

@Daniel . You may take a look Slack connector for JIRA Server which support : webhook integration and oauth integration. See more detai at here

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot