Can I configure YouTrack to create groups automatically from AD/LDAP?

I'm currently evaluating YouTrack. One thing I'm missing is an option to automatically create user groups from LDAP instead of creating a group manually and mapping it to an LDAP group. The issue JPS-2212 suggest that this was implemented in 2018, yet I can't find an option for it anywhere.

0
5 comments

Hi! 

I'm Sergey from the Youtrack team. Thank you for the post. 

As of now, there's the following group mapping available in the settings of the LDAP auth module: https://www.jetbrains.com/help/youtrack/standalone/LDAP-Authentication-Module.html#ldap-group-mappings Do you see them in your installation? If not, please share a screenshot of what you see and your Youtrack version (bottom left corner). Thanks. 

0

Yes, this is the mapping I'm talking about. Do I need to manually map every single of our 2000+ AD groups one by one, or is there a way to automatically sync the groups to YouTrack?

0

I see now, thanks for the details. The groups are not created automatically, unfortunately. In this case, the best solution is to create a custom script via our REST API that will create the groups in Youtrack and add them to group mappings of the Auth module.

Here are the relevant endpoints:

Also, if you have questions about how Youtrack works in general, you may sign up for a demo session at https://www.jetbrains.com/youtrack/request-a-demo/

For technical questions, you can reach out to our support team directly by submitting a ticket

0

Is this still the case? You have to script the creation of groups and the mapping of oidc/ldap groups to them?

0

Hi Carsten Pfeiffer! Yes, if you'd like to avoid creating and mapping a large number of groups manually, doing that automatically via the REST API is the recommended approach.

0

Please sign in to leave a comment.