Hello community,
I'm trying to automate some Jenkins jobs based upon Jira changes.
I've read some other questions and articles about Webhooks and everything seems to be ok from my side, but it's failing.
Using the same headers and endpoint I can make it work with postman and with curl. What am I missing?
Found the root of the problem.
Needed to add Jira's IP addresses to whitelist them in my Jenkins server, you can find them here: https://confluence.atlassian.com/cloud/atlassian-cloud-ip-ranges-and-domains-744721662.html
Hi @David Jose Silva Ruiz
Could you please help me how to whitelist Jira Ip address in my jenkins server.
Thank you in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there's code 403, so there's probably something wrong with the authorization - are you sure the appropriate header is correct? Are you also able to get the error message?
Also the content of the field Custom data is suspicious for me - it probably has wrong format. How should your request body look like?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
For now, the custom data is not being used, so the format is not important.
And the headers are correct, using exactly the same I can trigger Jenkins (with postman & curl from terminal).
To me it looks like perhaps it has to do with proxies or something similar; how can I configure that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would recommend you to use service like RequestBin to be able to compare, how exactly the request looks like, when you are sending it from Jira and using Postman.
About proxies - some info can be found here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.