Added enum field
Converted source, priority and status of ticket to enum field
Added all alias to where
Made writable_fields definition more readable