I am unable to authenticate JIRA using API Key(Basic Authentication)
You cant directly use the API token.
You need to base64 encode your email:API token first
See here --> LINK
Then you take that encoded string and use it to authenticate in the format Basic<space>encodedstring
From above link, If you are on windows, replace bolded parts with your details, open power shell, copy paste / hit enter, you get the encoded string. then you pass Basic<space>encodedstring during auth
$Text = ‘user@example.com:api_token_string’
$Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text)
$EncodedText = [Convert]::ToBase64String($Bytes)
$EncodedText
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogitha.Kilambi ,
Welcome to Atlassian Community,
Try to create API token for authentication.
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did create API Key but unable to authenticate it... with username, API Key and URI... though every input is correct.
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.