clonemeagain / plugin-autocloser

An osTicket plugin to automatically close open tickets
GNU General Public License v2.0
40 stars 23 forks source link

Change status to Archived without changing the Closure Date value #40

Closed angelandasi closed 2 years ago

angelandasi commented 2 years ago

Version: osTicket v1.16.2

Hi everyne,

I don't know if it is the right place to post this, but I am new here and I don't know where to post it.

I would like to know if there is a way for me to update this plugin so when the status changes to Archived the Closure Date value doesn't get updated?

I would like to use your plugin to avoid old closed ticket to be reopened. I would like to flag them to "No Reopen" or to change their status to Archived. The problem is that when the plugin changes the tickets status to Archived, the Closure Date value is updated too. I need to keep the Closure Date unchanged, because we use it for our statistics. This "wrong" Closure Date will affect the statistics on our dashboard in which we display the number of closed ticket per month, the rate of SLA respect etc...

Thank you in advance for your answers. Regards, Angel

angelandasi commented 2 years ago

I found a way to do what I needed by editing the clonemeagain/plugin-autocloser. If it might help someone, I will try to add shortly the modifications I added to the plugin. So I will close this issue. Cheers.