Hi,Is there really no option for the user to close the ticket that they created?. If none, it is possible to include this on the future releases?.Thanks.osticket v.1.10

The open feature request for this lets me think so:https://github.com/osTicket/osTicket/issues/2114Maybe this plugin from clonemeagain is helpful for you:https://github.com/clonemeagain/plugin-autocloser

@ mfelber, Thanks for the link but I think the plugin is not applicable to us right now.What we really need is the ability of User to close his own ticket when its done. 

Haven't tried this myself but you can try thisAdd code: <?php if ($ticket->isCloseable()        // Only ticket owners can close this ticket        && $thisclient->getId() == $ticket->getUserId()) { ?>                <a class="action-button" href="tickets.php?a=close&id=<?php                     echo $ticket->getId(); ?>"><i class="icon-flag"></i> <?php echo __('Close'); ?></a><?php } ?>After this line: https://github.com/osTicket/osTicket/blob/develop/include/client/view.inc.php#L185Add code:    case 'close':        if(!$ticket->checkUserAccess($thisclient)) //double check perm again!            $errors=__('Access Denied. Possibly invalid ticket ID');        if(!$errors) {            $ticket->setState('closed');        } elseif(!$errors) {            $errors = __('Correct any errors below and try again.');        }        break;After this line: https://github.com/osTicket/osTicket/blob/develop/tickets.php#L106

    Hi Micke1101,Thanks for the code.I tried to add it, the close button is added but nothing happens when I tried to click it.

      2 years later

      Micke1101 I need this to be solved can you advice the way. Played a lot with inner codings and now confussed. any guidance for further? waiting for your positive feedback...

      This thread is from 2017.
      Please do not be a necromancer.
      This is not a feature in osTicket, and I do not believe that it is a planned feature either.
      Killing zombie thread with a head shot.

      Write a Reply...