Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't get the template to work in our new Jira Cloud environment #8

Open
JanVoigtlaender opened this issue Feb 21, 2023 · 1 comment

Comments

@JanVoigtlaender
Copy link

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

@dexterlabora
Copy link
Collaborator

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}}"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants