I have created custom REST Endpoints to consume JSON from an external API. However, I would like to be able to see the output of the http call and parameters being sent. Is there a log file or a way to see that?
I would like to avoid having to setup a whole dev environment if it is simple to do.
Community moderators have prevented the ability to post new answers.
You can use something like the following:
def response = "my-response" log.warn(response)
Its likely that will show up in the logs. You should be able to change the logging level for ScriptRunner by setting "com.onresolve" logger to some other level like INFO or DEBUG.
Thanks Adam. When you say "com.onresolve" is that the "com.onresolve.jira.groovy"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that would be the one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.