All users are allowed to create their own PATs, which will match their current permission level. To create the tokens, you may follow these steps:
By following This guide I could get a 200
The missing step was to encode my email with the API Token. and use that for the API call
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Florian Bonniec but I've tried to create an API Token but I'm getting a 403 Forbidden from my API call, searching for guide I came up to this question that says
'it appears that API tokens and PAT's (Personal Access Tokens) are _not_ the same.'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PAT are for JIRA Data Center, on Cloud you need an API token. Have you try other endpoint to test your api token ?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@
Yes I've tried a basic GET https://xxx.atlassian.net/rest/api/2/project
with Bearer token as the API Token in Postman
so Authorization : Bearer xxxxxxx
and the response is a 403
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hum can you try to use basic auth using your username but use the token instead of your password ?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that works. Unlike the PAT, the API token appears to function as a password and can be used with basic auth.
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.