RT 5.0.7 Documentation
RT::REST2::Util
fix_custom_role_ids ( $record, $custom_roles )
$record is the RT object (e.g., an RT::Ticket) associated with custom roles.
$custom_roles is a hashref where the keys are custom role IDs, names or email addresses and the values can be anything. Returns a new hashref where all the keys are replaced with "RT::CustomRole-ID" if they were not originally in that form, and the values are kept the same.
← Back to index