Adding assign ticket functionality