You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to build a Rest Service with the latest Version of the JiraRestApi class. Unfortunately there is no option to loigin with username and apitoken. The only function that comes close to this is "createWithBasicAuthentication" and it only works with username / password.
I use java as the programming language.
Somewhat surprising as this has not been supported for a long time and the last version is from October 2020. Is it planned to bring a corresponding function with username / token?
Hi @[deleted]
Have you tried using the Unirest library for Java to perform authentication?
@Prince NyecheYes I did. But I have to admit that I messed up JIRA Cloud and JIRA Server and with JIRA Server the login works with username and password. So my problem has been solved, the error was just 40cm in front of the keyboard.
Thanks for helping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that.
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.