TD Setting up workflow using defect script editor:-

Hi..can any one of you help me in doing the following vbscripting:

1. If I change a defect status from say "Open" to "Cancelled" then the R&D comments should force user entry. This is required because very often, users forget to enter the comments.

2. If I change the status from opent to Retest, say Status = Retest Then “Assigned To” should Change to “Detected By” Person.

Kindly let me know whether I need to write VB procedures for this or I need to used the VB field properties and lists to do the same.

Thanks in advance.