Applies To: 

HP ALM HP QC


Issue: 

The customer wants to populate the Target Release field when a new defect is created. 


Solution:


In the Defect New workflow code add the following: 

 

Set RelObject = Bug_Fields.Field("BG_TARGET_REL")
'Where 1001 is the Release ID 
RelObject.Value = 1001