Since getCustomFieldObjectByName is now deprecated, getCustomFieldObject (either long or string) has to be used. I'm in a situation where I need to convert many custom field names into their IDs. One way I though of doing it was creating a Map where each custom field name is matched with its ID, however I feel that is a tedious way of doing things. Is there a way to convert the name of a custom field to its ID? I know there's a way to convert ID into name, but the reverse does not seem to exist unless I've missed something?