Project

General

Profile

Defect #25635

Updated by Toshi MARUYAMA almost 7 years ago

Hi, 

 I've added few customer fields (data type) to my issue view. Now I would like to fill thous fields with some date in workflow. 

 I was looking for resolution but without success.  
 I tried to assign new value to customer field no 6 like that: 
 
 <pre><code class="ruby"> 
 custom_field_values.each @custom_field_values.each do |value| 
     if value.custom_field_id==6 
       

       value.to_s="test" 
     
      
     end 
   end   
 </code></pre> 

 @ 
 or like that :  
 @custom_field_values[6] = "test"@ 

 but it is not working. I cannot find any method to do this. 

 Can you give me some advice?  

 best regards 

Back