Developer
User Docs ↗
You are viewing documentation for RT 5.0.7, an older supported release. The current release is 6.0.4 (view the current version of this page).

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