I am unable to authenticate JIRA using API Key(Basic Authentication)
Hi @Yogi 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/
I did create API Key but unable to authenticate it... with username, API Key and URI... though every input is correct.
@Yogi Kilambi
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 = ‘<strong>user@example.com:api_token_string</strong>’
$Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text)
$EncodedText = [Convert]::ToBase64String($Bytes)
$EncodedText
It looks like you're new here. Sign in or register to get started.