I'm hoping that this has been done 1000's of times and someone has an example to share.
I need to parse the response from a JavaAPI call from a trigger script.
Example:
var cmd = new Packages.com.mks.api.Command("im","issues"); | ||
cmd.addOption(new Packages.com.mks.api.Option("queryDefinition", queryDefinition)); | ||
var response = api.executeCmdAs(currentUser, cmd); |