Hello groups,
I was trying java rest api to connect to jira instance, and was passing username and password to createWithBasicHttpAuthentication method. But the call fails as the response contains the html page having title - _<title>Sign in to your account</title>_.
Any help on how to address this authentication issue ?
Kind Regards,
Sud
Hello, thanks for giving the Jira API a go!
Basic auth with Jira Cloud no longer uses passwords. There's an error page popping up (the 403 / sign into your account page) because the password used to log in to your Jira site isn't an accepted credential for the API. Instead, you'll need to create an API token.
Details about how to use these with Atlassian Cloud are listed here. In short, you generate a new token from id.atlassian.com and use that in place of a password. The advantage to this is that you can have multiple tokens on your account (one per application) and they can be easily revoked!
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.