Open JanVoigtlaender opened 1 year ago
Have you tried using the base64 encode filter to fit this authentication requirement? Here is a similar example used in the ServiceNow template.
sharedSecret = username:token
{
"Authorization":"Basic {{sharedSecret | base64_encode}}"
}
Hi,
i had the template working on our on promise solution, however meanwhile we switched to the cloud solution and i can't get the template to work again.
To troubleshoot i use Postman, ill share my code below. When i post the information with Postman to the Jira API i get the error that im not allowed to create Tickets, i thought about permission issues however the jira admins are of the opinion this is not the case. What i found out is that it is possible for me to post a Ticket when i use Basic Authentication. With just the API Token or Username:token 64 encoded i cant post a Ticket.
If anyone can help it is greatly appreaciated. Best regards Jan headers.liquid.txt
body.liquid.txt