Dear members of this mailing list,
since an upgrade from RT 3.8.8 to 4.2.11 our mechanism to set specific values for custom fields on creation of tickets is no longer working.
I was wondering how this can be achieved with the latter RT. Found this WIKI article: http://requesttracker.wikia.com/wiki/DefaultCustomFieldValue (and others).
But to be honest, I do not really understand how this is supposed to work.
Creating the Callback, okay, I get that. But then:
"Second, you need to go to the custom fields values class, and add the method that will return the default value."
Which one is the custom fields values class?
And even after the second code snippet (example) I don’t get it.
Then the author of this article goes ahead, but his explanations are not really helpful, at least not for me.
Even if this should work somehow in a magic way, how does one specify the default value for a certain custom field?
In the past we had a mechanism to write ‘default’ in the custom field description, and this value was preselected when creating a ticket.
This was implemented in 3.8.8 in /var/www/html/rt/local/html/Elements/EditCustomFieldSelect but the changes compared to the code in 4.2.11 are huge and unfortunately I am not really comfortable with Perl …
So any advice would be highly appreciated, thanks & Cheers