| || |
Make requirement read/only based on status
Could you advice please how I can make a requirement readonly if it status(reviewed) is closed.
I tried the following script:
On Error Resume Next
if Req_Fields("RQ_REQ_REVIEWED" ).value = "Closed" then
For i=0 to Req_Fields.Count
Req_Fields.FieldById(i).IsReadOnly = True
On Error GoTo 0
It works ok for requirement fields but I still able to link defects and add attachements, is there a way to make readonly all other tab items too?
Thanks in advance