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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
How to get a user's login details with scriptrunner
Welcome to the Atlassian Community!
I am sorry that I do not quite understand the question, and need to ask for a bit more detail.
What "login details" are you looking for?
When someone logs into Jira, Jira uses the configured identity provider system(s) to ask the user to uniquely identify themselves, so that it knows that the account logged into belongs to the person logging in.
In the basic case, all you really have available is "this account can log in", "unique ID for this account (with associated display name and email)" and "has logged in".
You can then go off and ask the IDP for more detail about the account in SR, but what you can extract from that depends entirely on the IDP and how it's been integrated.
So, could you clarify "login details" for us?
Login details is what administrators can see when they hit "User management" -> "Users". Is there a way to get this information on the screenshot? with scriptrunner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the LoginManager class to accomplish this. Here's an example that returns the login count of the supplied user:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.