I am trying to call an external API which then triggers some automation in another system to run. In order to call that API, I must pass an "Authorization: Bearer 1234104391902348" header to the endpoint. How is the best way to accomplish this?
@JJ First of all, welcome to the Atlassian Community.
Now, coming to your question, this is not supported as of now.
You can pass some form of authentication using query parameter, but custom headers is not supported. For example if site you are calling provide personal access token, you can have URL like,
http://HOOK_SITE?token=PERSONAL_TOKEN
This feature was always on Atlassian list but they never got enough requests to pursue this. I will suggest you log a ticket for this (or add comment to existing one).
Hi DPK, appreciate the quick response. Unfortunately I'm just using the free version right now, so I can't add a ticket. Maybe someone else who wishes to have this feature can do so. I'm happy to upvote it!!
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.