Get user information from LDAP into Jira issues


Table of contents



The need: get information on Jira users from a LDAP

You can connect Jira to LDAP and centralize user information in your Jira issues, such as contact details, position, department, manager, etc. For example, you can automatically fetch data about the current Jira user and display it in a custom field.



Solution: populate Jira custom fields with information on users from LDAP

We use Elements Connect to populate Jira custom fields with information coming from LDAP, by executing LDAP queries.

Here, as example, we want to get more information on a user stored in LDAP. Once the user selected, a custom field is automatically populated with personal details like title, email, phone, etc.


See this field in action from our demo portal



Configuration guide: how to populate Jira custom fields with LDAP data

Step 1: connect to the LDAP datasource

In this demo, fields are connected to a LDAP datasource. Learn how to configure the connection to a LDAP datasource.

For our demo, we used the docker-test-openldap docker image.

Step 2: create Elements Connect fields

The field configuration files from this example are available for download below. You can reuse them by importing them in your Elements Connect administration and adapting the configuration to your needs.

Download the fields configurations: 

Name Version Published
LDAP_-_User_details_export.json 1 2019-06-27 10:44
LDAP_-_User_export.json 1 2019-06-27 10:44

  • Field 1: lists all users stored in LDAP
  • Field 2: displays detailed information about the user selected in Field 1.

Import them in your Elements Connect administration following the step-by-step guide: How to import Elements Connect field configuration files 

(warning)  Don't forget to update fields ID to keep the dependency between these fields.


Step 3: add the field to your issue screens

Last step is to add this field to the aimed issue screens. 

>> Learn how to add Elements Connect fields to Jira issue screens


Want to display LDAP User's Manager information in a custom field? Check out this tutorial.