ey,
If you are trying to do this using the Java SDK, it uses the ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() method.
Refer to the docs at
Hope that helps.
@zhaoyawei You would need to elaborate what you mean. Answering your question, Jira gets a password from user input. But I guess, it is not what you are asking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Click button in the jirra system I want to pass the user's name and password,I was jira's secondary development call interface requires a user name and password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is still not clear what you mean. What is a "secondary development call interface"? What do you mean by "pass user's name and password"?
But, I suspect you might be thinking that Jira has the user's password stored somewhere so you can use it for a log-in to something. That is a totally insecure thing to do and Jira never stores passwords. So there is nothing to "get"
If you could explain what you are trying to do, we might be able to explain how.
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.