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.
I'm interested in writing a ScriptRunner script that uses the 'passwordLastChanged' attribute of the logged-in user from a Crowd directory. Is this possible?
I've skimmed the Crowd API docs for my version and haven't had any luck figuring out where to begin with this.
We're set up with Crowd SSO and any authenticated user in JIRA should be readily authenticated in Crowd at the same time, if that matters.
(Edit)
It might be an option to do this using Crowd's REST API, but that might require creating an application user/pass for the script to use (if I understand how Crowd REST authenticates correctly) and accepting that those credentials would be stored in plain text in the script. I'm open to trying that route but would prefer if I could get into Crowd in a more secure way...