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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing Crowd user attributes with ScriptRunner in JIRA

Edited

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

65 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you