You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-01-18 15:46:41

Daviid
Member
Registered: 2018-12-20
Posts: 12

Autoclose solved ticket when created as closed

Autoclose solved tickets set to "immediately"
If I create a ticket as solved the ticket doesn't get closed even if I force the closeticket automatic task.

Regardles of mode of execution GLPI or CLI.

Offline

#2 2019-01-18 18:45:51

Langundo
Member
Registered: 2016-07-21
Posts: 75

Re: Autoclose solved ticket when created as closed

Hi,
if its set to cli you have to create a cron job.
When set to glpi all the tasks will be proceed one by one if there is a little "action" with glpi.

So in both ways I would say it tooks a little time. Be patient wink


Debian 11.7 - PHP 7.4.33 - MariaDB 10.5.19 - 10.0.8-dev

Offline

#3 2019-01-21 09:58:08

Daviid
Member
Registered: 2018-12-20
Posts: 12

Re: Autoclose solved ticket when created as closed

I have it set to CLI, I have a cron job running every minute.

· Automatic closing of solved tickets after 1 day (So I change the dates so it's as if the ticket has been solved for a day or more).
- Ticket A is created directly as solved, after 2 or 3 runs of closetickets the ticket gets closed.
- Ticket B is created as a normal ticket would, add a few followups and add a solution, after 2 or 3 runs the ticket gets closed.

· Automatic closing of solved tickets immediately.
- Ticket A is created directly as solved, the tickets it's still "Solved" not "Closed" after a few runs.
- Ticket B is created as a normal ticket would, add a few followups and add a solution, since it's set to immediately it gets closed as soon as I hit send on the solution.

Offline

#4 2019-01-21 16:39:54

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Autoclose solved ticket when created as closed

When you add a solution in the ticket, it's closed immediately. It don't use cron task for close ticket.

I confirm your issue: https://github.com/glpi-project/glpi/issues/5279


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2019-01-22 09:09:39

Daviid
Member
Registered: 2018-12-20
Posts: 12

Re: Autoclose solved ticket when created as closed

yllen wrote:

When you add a solution in the ticket, it's closed immediately. It don't use cron task for close ticket.

I confirm your issue: https://github.com/glpi-project/glpi/issues/5279

Thank you big_smile

Offline

Board footer

Powered by FluxBB