The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Import data to a LDAP Picker Custom Field

Renato Madisson
March 21, 2024

Hi guys! LDAP Picker is a Scriptrunner Custom Field that we are trying to use in our environment.

We've managed to configure and use the field in cards, but we need to migrate data from another field to this one. 

We've tryed using full name, username, even some notation for the distiguished name, but nothing works.

How can I possibly import data in a LDAP Picker field?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
PD Sheehan
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 Champions.
March 26, 2024

Hi there!

By "migrating" you mean that you are attempting to populate the LDAP Picker field from external data of some kind?

There might be ways to override that using the custom field configuration script, but I think by default, values are stored as "CN=cnvalueforuser"

So try to include the "CN=" in your string to set the values to.

Renato Madisson
March 28, 2024

Yeah, I'm trying to populate the field from a CSV file, using the Import External Project function.

We tryied usign CN=username but it did not work. :-(

After the import, the field shows this: "Error: no such entry with DN: CN=username"

We also tryied with the full distiguished name, but the result was the same.

In the configurarion, it's like this:

image.png

We tryied put cn, dn and other things in the 'Search attribute' field, but nothing works.