I have a custom field 'RAG' that contains 3 possible values - Red, Amber & Green
If 'RAG' value is changed on any child issue I would like to have the following checks automated and the value of the Epic 'RAG' field updated as per the rules below:
If any child issue has a value of RED the Epic should be RED
ELSEIF no child is RED but a child issue has a value of AMBER the Epic should be AMBER
ELSE if all child issues are GREEN the Epic should be GREEN