Hi, I'm creating a script to create a customer through the JSD API
I'm having a hard time creating the custumer, when the API returns I'm getting the following error "insufficient permission to perform requested action, JIRA Administrators global permission is required." But I already gave all permissions and the error persists.
Hi @Luiz SSO PUBLIC,
Welcome to Atlassian Community!
The user that you are using the the authentication when sending the end point has to be part of one of the groups that you have given global Jira permissions to. Your header in the call needs to include 'Authorization: Bearer <access_token>' or 'Authorization: Basic <user_email:api_token>'
Hi, now I'm getting this return, but I'm wanting to create a new client "customer"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That means that the authentication isn't working. Try using 'Authorization: Basic <user_email:api_token>' instead of Bearer to see if that works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basic authentication with passwords is deprecated. For more information, see
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should use an API token instead of a password. If you do not have a token already, go to https://id.atlassian.com/manage-profile/profile-and-visibility and from there go to security and generate one. It is recommended that you base64 it once you have gotten it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I generated a token in the profile, even in these images I'm using the token. Bearer 5aT4JXQq8gQEr7SLyT6VFD1E
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to solve the problem, I'm using "Insomnia" with this I was creating cookies, I had to delete the cookies generated with this it worked perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.