I found an old post on stackoverflow, but the module is not found in JIRA when trying to use it in a Groovy script. The post is almost 10 years old so hopefully there is some more current documentation on this.
http.client.getCredentialsProvider()
Does anybody have a current version of a REST call example with an endpoint and a proxy configuration with server, port, user and password for the proxy, in a JIRA Groovy script?
Thank you!
Tim