Hello, I hava a problem with java api
I want to get username and password of current login
I use ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(). It just gets the username, can't get the password
Jira's APIs are not designed to be able to provide you with an account's password. Check out @Andy Brook [Plugin People] 's response on a related thread: https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-get-the-logged-in-user-s-password-for-integration-purpose/qaq-p/479853
No there isnt. Passwords are one-way hashed, it would be pretty poor if it were exposed...
some background on hashing is:
https://developer.atlassian.com/display/CONFDEV/Password+Hash+Algorithm
and
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.