I'm trying to update a custom field when the field is updated on the subtask so the parent shows the new value.
in the Script Listener console, issue.fields.parent.key doesn't work because 'parent' is not a known class in JSON.
I got that line from the Scriptrunner for JIRA Cloud examples.