• Resolved calliko

    (@calliko)


    Hello, how can I automatically change the status of a ticket?
    Is there any similar code that I can insert into a script:
    supportCandy()->status->update($id_tiket, $id_status);
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter calliko

    (@calliko)

    I got it like this. Did I do it right?

    global $wpscfunction;
    $wpscfunction->change_status( 3, 80);

    Plugin Contributor Nikhil G

    (@nsgawli)

    Hello,

    Use following code:
    global $wpscfunction;
    $wpscfunction->change_status( $ticket_id, $status_id);

    Thread Starter calliko

    (@calliko)

    Ahahaha. I already found it in your sources. Thank you. The ticket can be closed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how can I automatically change the status of a ticket?’ is closed to new replies.