I was wondering if it was possible to access my own extension's private JIRA API using "Send webook". I've been trying to send some information to a POST function in my own rest resource but when I run the code Jira Automation throws the following error: Error publishing webhook. Response HTTP status:403.
If I were to guess it has something to do with authentication but I've no idea how I go about authorizing the rest call.
Hi Jeffrey,
Yes you can. You need to generate a basic auth header using a valid username and password. Then place it into the headers section of the send webhook action.
You can generate a basic auth header using something like postman.
Then switch to headers and copy the value from there.
Hope that helps.
Scott.
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.