@staticmethod
def _get_custom_fields_details(fields):
    """Return a List of all Custom Incident Fields which are Dictionaries with
        the attributes: api_name, label, type, prefix, placeholder and tooltip"""
    return_list = []
    for field in fields:
        the_field = {}
        the_field['api_name'] = field.get('name')
        the_field['label'] = field.get('text')
        the_field['type'] = field.get('input_type')
        the_field['prefix'] = field.get('prefix')
        the_field['placeholder'] = field.get('placeholder') if field.get(
            'placeholder') else '-'
        the_field['tooltip'] = field.get('tooltip') if field.get('tooltip'
            ) else '-'
        return_list.append(the_field)
    return return_list
