Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get users from AD/LDAP directory in jira using Rest-api

Fayaz Abdul
Contributor
June 18, 2019

Hello Team,

I have integrated ldap in jira. So i have two directories 1)internal and 2)ldap directory.

Now i want to get all users whoever present in Ldap directory using Rest-api.

Please help me out.

Thanks,

Fayaz

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2019

Hello,

You can not do it by Rest Api. You would need to query the cwd_user in the database.

Fayaz Abdul
Contributor
June 18, 2019

@Alexey Matveev 

Do we have any script for that.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2019

You need to query the Jira database

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2019

Or you can write a script, if you have a scripting plugin

Suggest an answer

Log in or Sign up to answer