Actions
Defect #25635
closedFill/update customer field in workflow
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
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:
custom_field_values.each do |value|
if value.custom_field_id==6
value.to_s="test"
end
end
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
Updated by Krzysztof Śliwa about 8 years ago
- Status changed from New to Resolved
OK, the resolution is easy.
just have to use @issue.custom_field_values=({6=>'test'})
Updated by Toshi MARUYAMA almost 8 years ago
- Category deleted (
Custom fields) - Status changed from Resolved to Closed
- Resolution set to Invalid
Actions