I am attempting to troubleshoot a script runner workflow post function in the script runner console, and would like to assign the default issue object to a specific issue by id so I can use the console to run and edit the failing code.
How can I assign the issue object to a specific issue by ID? I would expect something like:
def issue = getIssueByID("JRA-123")so that I can then do stuff like:
def fieldValue = issue.fields[fieldID] as String