You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I am trying to trigger a build of a Jenkins job through a JIRA webhook. But I am getting a 403 error, which mean it is missing the authentication token in the POST request. Is there any way to set headers in the webhook URL?
Hello Lara,
Here is the needed headers
:
BASE64Encoder base=new BASE64Encoder();
String encoding = base.encode ("username:password".getBytes());
postRequest.setHeader("Authorization", "Basic " + encoding);
postRequest.setHeader("X-Atlassian-Token","nocheck");
Hi,
Thank you for the reply. But how can I set that header in JIRA? Because it is only possible to set the URL in the webhook configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree on Jira Cloud, we need a definitive answer from Jira.
as of 11-03-2020 this is STILL not possible! why?......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.