How can I access an external REST API with ScriptRunner?

An example script to demonstrate this can be found here in our Adaptavist Library.

We also have an example of talking to the Git hub API which uses this HTTP builder library.

With the above-mentioned HTTP builder library, you may also need to consult the Authentication section depending on the requirements of the ThirdParty API.