Potential bug in 3.8.8?

Hi,

I’m working with a new customer who uses RT 3.8.8 and I am trying to integrate with dynamics CRM as part of a sales process. I have a solution now where I can create a ticket using the REST API. This returns me an ID which I wish to add some links to. No matter what ticket is I supply to the link post, the ticket is linked to ticket id 1.

For example, this is the HTTP request I am sending to set the parent ticket:

POST http://xxx/REST/1.0/ticket/105440/linkshttp://xxx:80/REST/1.0/ticket/105440/links?ce_b4=cnQtdXNlcnNAYmVzdHByYWN0aWNhbC5jb20%3D&cas_b4=YXN3aWZ0QHBlYXJ0cmVlc29mdHdhcmUuY28udWs%3D&utm_medium=Email&utm_source=Outlook HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: rt.vaioni.net
Content-Length: 66
Expect: 100-continue

user=xxx&pass=xxx&content=MemberOf%3a+105349%0d%0a

And the response back from RT is:

35
RT/3.8.8 200 Ok

Links for ticket 105440 updated.

0

Unfortunately as you can see in the image below, this ticket is not linked to ticket 1.

[cid:image001.png@01CFE2E4.F49EC360]

Has anyone come across this issue before? And I greatly appreciate any help you can offer.

Regards,
Ant

Anthony Swift
Director

Peartree Software Ltd
15a High Street
Newton-le-Willows
Merseyside
WA12 9SP

T: 0770 88 99 55
E: aswift@peartreesoftware.co.ukmailto:aswift@peartreesoftware.co.uk:25?ce_b4=cnQtdXNlcnNAYmVzdHByYWN0aWNhbC5jb20%3D&cas_b4=YXN3aWZ0QHBlYXJ0cmVlc29mdHdhcmUuY28udWs%3D&utm_medium=Email&utm_source=Outlook
W: http://www.peartreesoftware.co.uk:80/?ce_b4=cnQtdXNlcnNAYmVzdHByYWN0aWNhbC5jb20%3D&cas_b4=YXN3aWZ0QHBlYXJ0cmVlc29mdHdhcmUuY28udWs%3D&utm_medium=Email&utm_source=Outlook http://www.peartreesoftware.co.uk/http://www.peartreesoftware.co.uk:80/?ce_b4=cnQtdXNlcnNAYmVzdHByYWN0aWNhbC5jb20%3D&cas_b4=YXN3aWZ0QHBlYXJ0cmVlc29mdHdhcmUuY28udWs%3D&utm_medium=Email&utm_source=Outlook
Skype: peartreesoftware

Registered in England: 175338558

I’m working with a new customer who uses RT 3.8.8 and I am trying to integrate
with dynamics CRM as part of a sales process. I have a solution now where I can
create a ticket using the REST API. This returns me an ID which I wish to add
some links to. No matter what ticket is I supply to the link post, the ticket
is linked to ticket id 1.

For example, this is the HTTP request I am sending to set the parent ticket:

Looking at what

RTDEBUG=3 /opt/rt4/bin/rt link 2 memberof 3

sends to the server, it’s quite different that what you’re sending.

While you might have found a bug in 3.8.8, it is out of support and
almost 5 years old. I would see what bin/rt sends on 3.8.8 and check
if it works.

https://www.bestpractical.com/rt/release-policy.html

-kevin