Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Accessing Crowd user attributes with ScriptRunner in JIRA

Joshua DeClerck April 30, 2018

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events