jira - slack integration -- webhook always getting error 500

Daniel Daniel August 18, 2015

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

0 votes
Answer accepted
Daniel Daniel August 18, 2015

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

0 votes
Robert April 5, 2017

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

 

0 votes
Nick Murray January 27, 2016

Also the same - JIRA 7.0.9

0 votes
Ivan Kovnatsky September 30, 2015

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

Suggest an answer

Log in or Sign up to answer