Hello
I am following Adaptavist Script Runner documentation to add a behaviour in ServiceDesk (but I guess it would be the same for JIRA core),
and I would like to query a REST endpoint to retreive information to append into custom field description, parameter comes from another form field, reporter in my use case.
I have found no REST endpoint client invocation code snippet except in the specific "select list conversions" example.
What is the best way to invoke a custom REST endpoint to retrieve a single value as a behaviour ?