RT CLI linking tickets

What’s the proper incantation for linking tickets via the CLI?

rt help link says:

rt link 2 dependson 3

but it does:

root@svr-rt:~# /opt/rt4/bin/rt link 4 dependson 3
rt: Different ids in URL (//REST/1.0/ticket/link') and submitted form (4’).

Google comes up short on that cryptic error.

In 2012 we get to choose whether to throw out the baby with the bathwater,
deny that the baby needs a bath, or have the government pay for the baby
and the bathwater.

What’s the proper incantation for linking tickets via the CLI?

rt help link says:

rt link 2 dependson 3

but it does:

root@svr-rt:~# /opt/rt4/bin/rt link 4 dependson 3
rt: Different ids in URL (//REST/1.0/ticket/link') and submitted form (4’).

Google comes up short on that cryptic error.

Works great here:

~/work/rt/4.0 (4.0-trunk)$ ./bin/rt link 1 dependson 2
Ticket 1 depends on Ticket 2. Created link 1 DependsOn 2

Try turning on RTDEBUG=4 or debug 4 in your env/config respectively.

-kevin