Re: [rt-users] any ideas why this post with php CURL not setting custom field?

2009-05-22 Thread vtplymblfan-rt
Could the problem be that I have to encode the dash in CF-UPC somehow before sending it via CURL (but it gets encoded automatically from the form and that is why the form works)? I hope to be able to add some logging statements to REST/1.0/ticket/default so that I can see what RT is getting in

Re: [rt-users] any ideas why this post with php CURL not setting custom field?

2009-05-22 Thread Tom Lahti
Custom fields should be in the form of: CF.{CustomField}: value So you want CF.{UPC}: 7585485. -not- CF-UPC: 786936180992 vtplymblfan...@yahoo.com wrote: Could the problem be that I have to encode the dash in CF-UPC somehow before sending it via CURL (but it gets encoded automatically

[rt-users] any ideas why this post with php CURL not setting custom field?

2009-05-19 Thread vtplymblfan-rt
Hi there, I have modified a web application to post to RT's web interface a create ticket request. The post works perfectly... the ticket get created in the right queue with the given subject and text... except that the custom field value I pass (UPC) in does not get set. Here is the CURL