Assign ticket functionality working