import static groovy.json.JsonOutput.* def fields = jiraGetFields idOrKey: 'MYJIRA-1', site: 'jira' println prettyPrint( toJson( fields.data ))
def issue = jiraGetIssue idOrKey: 'MYJIRA-1', site: 'jira' println issue.data