LDAP call in post function.

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2014

Hi,

I need to fetch a user's manager's name and populate it in a custom field during the post function of create transition.

Is it feasible or are there any other approaches to this requirement?

Thanks,

1 answer

1 accepted

0 votes
Answer accepted
RambanamP
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.
February 2, 2014

we had the same requirement so i got from the following code and modified little bit and it worked as expected, so i hope it should help you also!!

http://www.adamretter.org.uk/blog/entries/LDAPTest.java

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2014

so you used this code in the scriptRunner post function?

RambanamP
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.
February 3, 2014

i created postfunction using java syntax in my plugin!!

Suggest an answer

Log in or Sign up to answer