I have set up an Automation rule for SLA breaching to trigger a webhook. The webhook I have specified is a Slack Incoming Webhook. I have not specified headers. I have tried with or without including payload.
The automation log shows success.
The service-desk.log shows this error:
Failed executing ThenAction com.atlassian.servicedesk.plugins.automation.webhook.rulethen.WebhookThenAction asynchronously: 'Received [400 - Bad Request] when posting to webhook URL https://hooks.slack.com/services/T0252S5Q6/B79B.........
Our webhooks from System Admin for regular JIRA to Slack work just fine. This seems to only be an issue via the Service Desk automation webhook.
Has anyone encountered this problem? Not sure if next stop should be Atlassian or Slack?
Have you looked at the payload contents? Requestbin https://requestb.in/ is very useful for that kind of thing. Normal webhooks give some kind of reason how it was triggered (based on an event or on a transition). I'm curious if the automation rule trigger is posting in a format unfamiliar to Slack.
I would compare the payload from the automation rule to the payload from triggered by event/transition for similarity.
We finally gave up on using the Automation native to JSD. We purchased Automation for Jira app and it's fabulous. We use that now for any slack notifications.
Hopefully the native slack webhook will get fixed up in the upcoming releases.
THere is no override, they are separate from the JSD Automation. So I have a mix of JSD Automation and Automation for Jira items set up in my instance. I just pick whatever works best for the requirement that I have.
If you have any trouble setting up the slack automation, let me know if you do decide to purchase that app. There are a few tricks, but I've got it working great now. We really love it.
Hello Atlassian Community! I'm Teresa, the Product Marketing Manager for Jira Service Desk Server at Atlassian. I'm excited to announce two exciting releases for Jira Service De...
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!
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