Using JIRA 5.2.x
When configuring a webhook if I use a URL like http://user:pass@server/webhook I get an invalid URL when trying to save the form. How else can I possibly setup basic auth for a webhook if not in the URL?
Is it only possibly to post to unauthenticated webhooks?
Community moderators have prevented the ability to post new answers.
Hi Frank,
Is not currently possible to configure Webhooks using basic auth, we have an open improvement request for this to be possible: https://jira.atlassian.com/browse/JRA-31953
I strongly recommend you to vote for it (so it increases it's priority), add yourself as a watcher (in order to get updates) and if you have the time please add a comment so our DEVs can get the customer's point of view on why this should be implemented.
Hope it helps!
Regards,
Marlon
This limitation is pretty outrageous, however we solved this problem by creating a separate unauthenticated proxy. This new proxy accepts posts from JIRA and then posts to our authenticated service. A gaping security hole, if you ask me, but had to be done.
I've voted on the issue though, thanks for the pointer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank,
I encountered the JIRA webhook authentication problem as I posted in https://answers.atlassian.com/questions/313394/jira-webhook-trigger-bamboo-build. What do you mean "creating a separate unauthenticated proxy"? Could you share your workaround?
Thanks,
JC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA posts (unauthenticated) to an API endpoint I setup. That endpoint then posts (using authentication) to my application. Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frank,
Sorry for my ignorance. Could you provide a more detail steps or examples?
Thanks,
JC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I switched to use HTTPRequest-Workflow function add-on instead of Webhooks and it works as expected. My problem has been resolved. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. I am just now trying to create a webhook and discovered that my secure url is not supported. Has this been addressesd by Atlassian in a more recent version of JIRA? It's un unusable feature if secure URLs cannot be included in the definition of a webhook.
The version I am using is below.
Atlassian JIRA(v5.2.11#854-sha1:ef00d61)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. I have used Adaptivist ScriptRunner plugin and am able to achieve this by using groovy script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.