I'm writing a script that returns a list of custom endpoints. I'm retrieving the list of endpoints with the following code
import com.onresolve.scriptrunner.runner.RestEndpointManager
import com.onresolve.scriptrunner.runner.util.OSPropertyPersister
List<Map> restEndpoints = OSPropertyPersister.loadList(RestEndpointManager.CONFIG_REST)
How would I find out what the rest URL is for each endpoint?