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

Automate setting up "Manager" property from Active Directory

Hi Jira Cloud admins!

I was wondering if some of you were dealing with setting up a user's property based on information from Active Directory? I'm trying to figure out some simple solution for this without using a Scriptrunner or any third-party app.

BACKGROUND: We have our Jira Cloud site connected to and provisioned by our Okta Active Directory. In AD there is stored information about the user's manager email. We would like to automate this to be populated to a Jira user's "Manager" property. Currently, we have this solved on our Server using Scriptrunner but I'm wondering if rest APIs would be the best way to do that in Cloud. We are using it to automatically fill a custom field or set the assignee to the user's manager from this property. 

 

Thank you for sharing your thoughts!

 

1 answer

1 accepted

1 vote
Answer accepted
Darryl Lee Community Leader Dec 17, 2021

Hi - yes there's an API to set User Properties that can be used by Automation. Here's some documentation:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties/

And here's a post with some good examples:

https://community.atlassian.com/t5/Jira-questions/set-user-properties-via-API-Postman-Python/qaq-p/1749565

Darryl Lee Community Leader Dec 22, 2021

Note that if you don't want to have to maintain scripts to do this sync, this might work:

Hi @Darryl Lee 

Thanks for all the info, I'll look into it in more detail and will do some testing with my team.

Suggest an answer

Log in or Sign up to answer
TAGS

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