| || |
Defect Field Customization
I havea project with Defect Fields, i have a user defined field called Last Modified By, I want this field to get the default value of the user who logged into Test Director rather than to scroll down the user list to choose your username. Can anyone help me how to do that? I know you need to add something using the script editor.
Re: Defect Field Customization
I assume that you are looking to automatically store name of the user that modifies a defect.
In the script editor, in the defects module section, under the "Defects_BUG_FieldChange" procedure, try
bug_fields.BG_USER_01 = user.username
substitute the name of your field that you are using for Last Modified By for BG_USER_01 above (the database field name, not your logical name).
Note: The History feature of Test Director might suffice??