SOAP Link Tickets

English! place to talk about development, programming and coding
Post Reply
Teamghost
Znuny newbie
Posts: 3
Joined: 24 Mar 2014, 15:44
Znuny Version: 3.3.4

SOAP Link Tickets

Post by Teamghost »

Hi,

I can successfully create Tickets with PHP and SOAP. But with the update OTRS 3.0 to 3.3 I cannot link tickets anymore?!?

Can somebody help? Here some code ;-) (I've tried a lot - but nothing is working...)

Code: Select all

OTRS 3.0

    $linkid = $client->__soapCall("Dispatch", 
      array($otrsUser, $otrsPwd, "LinkObject", "LinkAdd",
      "SourceObject"      , 'Ticket',
      "SourceKey"         , $ticket,
      "TargetObject"      , 'Ticket',
      "TargetKey"         , $ParentId,
      "Type"              , 'Normal',
      "State"             , 'Valid',
      "UserID"            , $userId
    ));

OTRS 3.3

        $client->__soapCall('TicketSlaveLinkAdd', array(
        new SoapParam($otrsUser, "UserLogin"),
        new SoapParam($otrsPwd, "Password"),
        new SoapParam(array(
		    'SourceObject' => 'Ticket',
		    'SourceKey'    => $TicketID,
		    'TargetObject' => 'Ticket',
		    'TargetKey'    => $ParentId,
		    'Type'         => 'Normal',
		    'State'        => 'Valid',
		    'UserID'       => $userId,
		), 'Ticket'),
		));
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP Link Tickets

Post by jojo »

which URL is used for the SOAP Call to OTRS?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Teamghost
Znuny newbie
Posts: 3
Joined: 24 Mar 2014, 15:44
Znuny Version: 3.3.4

Re: SOAP Link Tickets

Post by Teamghost »

jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP Link Tickets

Post by jojo »

this interface has no connector/function for linking tickets

we can develop this functionality as a custom development if needed
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Teamghost
Znuny newbie
Posts: 3
Joined: 24 Mar 2014, 15:44
Znuny Version: 3.3.4

Re: SOAP Link Tickets

Post by Teamghost »

^_^

I'll use the database.

Thanks for replying.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP Link Tickets

Post by jojo »

Never write directly to the database!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
MikhailY
Znuny newbie
Posts: 1
Joined: 15 Dec 2014, 13:44
Znuny Version: OTRS 3.3

Re: SOAP Link Tickets

Post by MikhailY »

Hello! Any news on this issue? Is there any way to link tickets to each other by remote system?
Thanks
Post Reply