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?
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).
I want to use
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
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event