Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-725

Support Manager: Add an automatically close ticket option

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.2.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      Add an option to automatically close tickets after no response for x days.

      Automatically Close Tickets
      Drop down 1 day to 30 days

      If a ticket has been waiting for a customer reply for this period of time, close the ticket and send a ticket closed notice.

      It's important that the time is the time that we've been waiting for a customer reply and not the time the ticket has been open.

        Issue Links

          Activity

          admin Paul Phillips created issue -
          admin Paul Phillips made changes -
          Field Original Value New Value
          Attachment bonfire-screenshot-20130902-092531-927.png [ 10627 ]
          Hide
          admin Paul Phillips added a comment -
          Show
          admin Paul Phillips added a comment - This option is per-department. See http://www.blesta.com/forums/index.php?/topic/915-clients-can-close-tickets/
          Hide
          admin Paul Phillips added a comment -

          Should probably allow a predefined response to be selected if this is enabled. Not required, but if it's selected it will update with the predefined response and close.

          This way, you have 2 options..

          1. Close after x days.
          2. When closing, send the following predefined response
          – None –
          Other
          Responses

          Show
          admin Paul Phillips added a comment - Should probably allow a predefined response to be selected if this is enabled. Not required, but if it's selected it will update with the predefined response and close. This way, you have 2 options.. 1. Close after x days. 2. When closing, send the following predefined response – None – Other Responses
          admin Paul Phillips made changes -
          Security Private [ 10000 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Partially complete

          Show
          tyson Tyson Phillips (Inactive) added a comment - Partially complete
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Complete

          Show
          tyson Tyson Phillips (Inactive) added a comment - Complete
          tyson Tyson Phillips (Inactive) made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Fix sending email on auto-close reply

          Show
          tyson Tyson Phillips (Inactive) added a comment - Fix sending email on auto-close reply
          tyson Tyson Phillips (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          tyson Tyson Phillips (Inactive) made changes -
          Summary Support Plugin: Add an automatically close ticket option Support Manager: Add an automatically close ticket option
          tyson Tyson Phillips (Inactive) made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Fixed

          Show
          tyson Tyson Phillips (Inactive) added a comment - Fixed
          tyson Tyson Phillips (Inactive) made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          cody Cody Phillips (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          cody Cody Phillips (Inactive) added a comment - - edited

          Improved find tickets to close query:

          SELECT `support_replies`.* FROM `support_replies`
          INNER JOIN `support_tickets` ON `support_replies`.`ticket_id`=`support_tickets`.`id`
          WHERE `support_tickets`.`department_id`=?
          AND `support_tickets`.`status`!='in_progress'
          AND `support_tickets`.`status`!='closed'
          AND `support_replies`.`type`='reply'
          AND `support_replies`.`id` IN
          (
          	SELECT MAX(`support_replies`.`id`) FROM `support_replies`
          	WHERE `support_replies`.`ticket_id`=`support_tickets`.`id` AND `support_replies`.`type`='reply'
          )
          AND `support_replies`.`staff_id` IS NOT NULL
          AND `support_replies`.`date_added`<=?
          
          Show
          cody Cody Phillips (Inactive) added a comment - - edited Improved find tickets to close query: SELECT `support_replies`.* FROM `support_replies` INNER JOIN `support_tickets` ON `support_replies`.`ticket_id`=`support_tickets`.`id` WHERE `support_tickets`.`department_id`=? AND `support_tickets`.`status`!='in_progress' AND `support_tickets`.`status`!='closed' AND `support_replies`.`type`='reply' AND `support_replies`.`id` IN ( SELECT MAX(`support_replies`.`id`) FROM `support_replies` WHERE `support_replies`.`ticket_id`=`support_tickets`.`id` AND `support_replies`.`type`='reply' ) AND `support_replies`.`staff_id` IS NOT NULL AND `support_replies`.`date_added`<=?
          cody Cody Phillips (Inactive) made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          admin Paul Phillips added a comment - - edited

          When creating/editing a department there is a tooltip for "Automatically Close Tickets" that reads. "All open tickets that are not set to In Progress will be automatically closed if no replies have been made within the selected amount of time."

          Since this is no longer true, and tickets are closed regardless of status so long as the time requirement has been met, and the last replier is not an admin it should instead read.. "All tickets with a status other than In Progress whose last reply is from a staff member will be automatically closed if no replies have been made within the selected amount of time."

          Show
          admin Paul Phillips added a comment - - edited When creating/editing a department there is a tooltip for "Automatically Close Tickets" that reads. "All open tickets that are not set to In Progress will be automatically closed if no replies have been made within the selected amount of time." Since this is no longer true, and tickets are closed regardless of status so long as the time requirement has been met, and the last replier is not an admin it should instead read.. "All tickets with a status other than In Progress whose last reply is from a staff member will be automatically closed if no replies have been made within the selected amount of time."
          Hide
          admin Paul Phillips added a comment -

          Tooltip language needs fixed

          Show
          admin Paul Phillips added a comment - Tooltip language needs fixed
          admin Paul Phillips made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Tooltip has been updated.

          Show
          tyson Tyson Phillips (Inactive) added a comment - Tooltip has been updated.
          tyson Tyson Phillips (Inactive) made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-1167 [ CORE-1167 ]

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/Apr/14