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...