close tickets

English! place to talk about development, programming and coding
Post Reply
mohan
Znuny newbie
Posts: 19
Joined: 10 May 2010, 07:20
Znuny Version: 2.4

close tickets

Post by mohan »

HI,

I'm developing my own interface. I don't no what are all the data that must be passed to close the ticket and which fuction to call in the otrs modules to close a ticket.

Any solution will appreciated.

Thanking you in advance.
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: close tickets

Post by Mike_B »

What would you think of:

Code: Select all

$TicketObject->StateSet(
        State    => 'closed successful',
        TicketID => 123,
        UserID   => 123,
    );
huntingbears.nl - @michielbeijen on Twitter
mohan
Znuny newbie
Posts: 19
Joined: 10 May 2010, 07:20
Znuny Version: 2.4

Re: close tickets

Post by mohan »

Thank you Mike,

I solved the problem.
Post Reply