As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: PILOT REPORTS FLIGHT DIVERTED TO MIA ON ACCOUNT OF YELLOW HYDRAULIC STSTEM FAILURE. AN EMERGENCY WAS DECLARED AND THE FLIGHT LANDED WITHOUT INCIDENT. MAINTENANCE FOUND THE HYDRAULIC PUMP CASE DRAIN HOUSING CRACKED. REPLACED THE #2 ENGINE PUMP CASE DRAIN FILTER ASSEMBLY FITTING IAW AMM 29-11-43. OPS CHECK AND LEAK CHECKS GOOD.