All, I am working on some custom scripts for event management and attempting to automatically link tickets that refer to the same custom field. Creating the ticket and getting a list of tickets is easy, but when I link the ticket with a post containing
Say I just created 1236 and I want to refer to 1234 and 1235 content=id: ticket/1236/links RefersTo: fsck.com-rt://rt/ticket/1234 The post works, However, if I try with: content=id: ticket/1236/links RefersTo: fsck.com-rt://rt/ticket/1234, fsck.com-rt://rt/ticket/1235 I only get the first one, same for content=id: ticket/1236/links RefersTo: fsck.com-rt://rt/ticket/1234 RefersTo: fsck.com-rt://rt/ticket/1235 Now, if I do two separate posts content=id: ticket/1236/links RefersTo: fsck.com-rt://rt/ticket/1234 content=id: ticket/1236/links RefersTo: fsck.com-rt://rt/ticket/1235 The history of the ticket says the first link is created, then it is deleted. The same thing happens when I try it the other way around. content=id: ticket/1234/links ReferredToBy: fsck.com-rt://rt/ticket/1236 content=id: ticket/1235/links ReferredToBy: fsck.com-rt://rt/ticket/1236 I know it's possible to link a ticket with "Refers To" from the web-ui, how can I do it using REST? Thanks, Edward
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Chicago, IL, USA September 26 & 27, 2011 * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Melbourne VIC, Australia November 28 & 29, 2011 * Barcelona, Spain November 28 & 29, 2011
