Attempting to call webhook generates 403

I'm testing out Automation for JIRA (Cloud). I've setup a rule to listen for an incoming webhook. When I call the webhook using the example listed in the rule configuration screen, I get a 403 back from the server and the rule isn't triggered. Here's the curl command used (sans hook ID):

curl -X POST -H 'Content-type: application/json' https://automation.codebarrel.io/pro/hooks/<hookid>

Why isn't this triggering the rule?

1 answer

0 votes
Andreas Knecht Community Champion Mar 13, 2017

Hey Kilby,

I just tested a webhook I defined in cloud and it worked fine for me. Can you raise a support request via codebarrel.io/support and include your webhook token (in the URL) so I can take a closer look at what's causing this?


Cheers,
Andreas

Thanks for the quick response, Andreas. I realized yesterday that I forgotten to reenable the rule. Once I turned it back on it was accepted w/ a 200. Apologies for the confusion.

Andreas Knecht Community Champion Mar 16, 2017

No worries - all good.  We thought about perhaps returning the fact that the rule is disabled in the HTTP response, however it's not a good idea since a potentially attacker could use this information to guess URLs (that might be enabled in future).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

468 views 8 27
Read article

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