I want to use LDAP resources in script like described here https://scriptrunner.adaptavist.com/latest/jira/resources.html#_use_ldap_resources_in_scripts
but I can't import com.onresolve.scriptrunner.ldap.LdapUtil
I need jar to add it into atlassian-jira/WEB-INF/lib but where can I download it?
Hi aas,
I might be missing a point but where is the need to download a separate jar-file referenced exactly?
I could not find any hint to that - could you please state where this is documented?
From previous experiences it is indeed needed to import the classes but not to install a jar-file (except this has changed - or is something new).
Cheers,
Daniel
I want to use
com.onresolve.scriptrunner.ldap.LdapUtil
like described here https://scriptrunner.adaptavist.com/5.7.0/confluence/resources.html#_use_ldap_resources_in_scripts but have
I had the same problem https://community.atlassian.com/t5/Jira-questions/Unable-to-resolve-class/qaq-p/1427676#M435184 with apache poi libraries. I downloaded this from maven repository and added to $JIRA/atlassian-jira/WEB-INF/lib. So, I decided that with LdapUtil I have to do the same, but couldn't find that library
But I found out that on another instance of Jira I don't have that problem. I suppose that it depends on Jira and scriptrunner version. With Jira v7.13.8 and Scriptrunner 5.6.13 problem, but with v8.5.6 and 6.5.0-p5 everything is ok.
But actually I used workaround with javax.naming.ldap like here https://stackoverflow.com/questions/34149827/fetch-all-users-from-ad-server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you are using the Adpatavist Scriptrunner plugin and it is installed in you application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.