Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

HP QC 11.0 > Workflow -> Workflow Scripts Help Needed

$
0
0

Dear,

 

Please advice, under which function I should write the code which will update the newly introducted user field "Reported Month"  with values for all the existing defects. I have tried writing the code under Defect Module Script functions: Bug_MoveTo, Bug_FieldChange; but after implementing the code, when I checked the existing defects in defect module, I couldn't find the Reported Month field for those defects having the desired value. Below is the sample code I tried (under Bug_MoveTo, Bug_FieldChange) :

 

  If Bug_Fields("BG_DETECTION_DATE").value >= "6/15/2015" and Bug_Fields("BG_DETECTION_DATE").value <"7/15/2015" then

  Bug_Fields("BG_USER_53").Value = "June"

  End if

 

Here, BG_USER_53 is the Reported Month field.

 

Please advice, if above is not the way to bulk update all the existing defects with Reported Month field value, then what is the way around here.

 

Thanks a lot!

Tanmay Pathak

 

 

 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>