Custom field RT::CustomField=HASH(0xbc5bce8) does not apply to this object

Hi folks,

I’m trying to use RT::Client::REST to connect our internal provisioning
database (on a different server) to our RT 3.6.4 instance… I can
create tickets, but I also want to set a custom field with a circuit
reference. Tickets in the queue in question have three CFs - SLA, CBUK
and OtherTicket. I can set SLA and OtherTicket, but not CBUK.

I can set all three from the web UI. It turns out that I also can’t set
CBUK from the regular ‘rt’ CLI either. I get:

cbuk: Custom field RT::CustomField=HASH(0xbc5bce8) does not apply to

this object

except that it is, and works OK from the web, logged in as the same user.

Does anyone have any ideas of where to look for this? It seems that
something is confused (aside from me) inside the database…

At some stage I’ll be upgrading to 3.8.2, but presumably if there’s some
kind of data corruption, that’ll just be perpetuated. Of course, if it’s
actually a code issue, I might dodge it.

Thanks in advance for any pointers,

Howie