Add status to the comment

When updating the status of the comment, also update the status of the
ticket.