Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,103
Community Members
 
Community Events
165
Community Groups

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 Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

273 views 14 7
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