I am trying to write a listener that will update the "priority" field of all sub-tasks when the parent is updated.
I currently have a listener that works on custom fields...However, since "priority" is not a custom field, my script returns a nullValue error when I try to access the priority field using the method getCustomFieldValue()
Further, the methods getFieldById() - getFieldByName() only work in behaviours.
The ScriptRunner docs do not provide any valuable information for this specific case...
Regarding listeners:
WHAT METHOD CAN I USE TO ACCESS THE PRIORITY FIELD??
WHAT METHOD CAN I USE TO UPDATE THAT FIELD IN A SUB-TASK?