Incident status based on Feedback

Hi Experts,

 

We have a requirement of having the option of feedback for the users when ticket is set to resolved status. 

 

The user should give Yes/No in the feedback and if the feedback is given as "Yes" then the ticket should be closed automatically and in case if the  feeback is set to "No" then the status of the ticket should be set to " Work in progess".

 

Also this should be like an email template which will trigger to the user on the ticket status "Resolved" with yes/No option , when clicking on yes from the email then the ticket in back end should be set to closed. in case of clicking "No" in the email then the ticket should be set to " work in progress".

 

Please suggest how to acheive this.