> For the complete documentation index, see [llms.txt](https://ticketking.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ticketking.xyz/docs/it/risoluzione-dei-problemi/auto-close-misfired.md).

# La chiusura automatica è scattata quando non doveva

Un ticket si è chiuso automaticamente quando non avrebbe dovuto, oppure non si è chiuso quando avrebbe dovuto.

Ticket King ha due chiusure automatiche, e solo queste due:

* **Chiusura automatica alla partenza** (gratuito). Chiude un ticket quando il membro che lo ha aperto lascia il server.
* **Chiusura automatica per inattività** (<i class="fa-crown">:crown:</i> Premium). Chiude un ticket dopo un periodo senza attività. Scegli il periodo da un elenco fisso: 6 ore, 12 ore, 1 giorno, 2 giorni, 3 giorni, 7 giorni, 14 giorni o 30 giorni. L'impostazione predefinita è 7 giorni.

→ [Regole di inattività](https://ticketking.xyz/docs/it/ticket/inactivity-rules.md)

## Un ticket si è chiuso e non avrebbe dovuto

### Il periodo di inattività è breve

Se imposti **Periodo di inattività per chiusura automatica** a un periodo breve, come 6 o 12 ore, un ticket può chiudersi mentre lo staff è assente per un giorno. Imposta un periodo più lungo. L'impostazione predefinita è 7 giorni.

### L'autore ha lasciato il server

Se **Chiusura automatica alla partenza** è attiva, un ticket si chiude nel momento in cui il membro che l'ha aperto lascia il server. Se preferisci lasciare aperti quei ticket, disattiva la chiusura automatica all'uscita.

### Hai appena attivato la chiusura automatica per inattività

Quando attivi **Chiusura automatica per inattività** attivandolo, qualsiasi ticket che sia già rimasto inattivo più a lungo del periodo che hai scelto può chiudersi poco dopo. Se alcuni ticket si sono chiusi inaspettatamente, controlla il canale dei log di chiusura per vedere quali.

## Un ticket non si è chiuso e avrebbe dovuto

### Premium scaduto

La chiusura automatica per inattività è <i class="fa-crown">:crown:</i> Premium. Se il Premium scade, la chiusura per inattività si interrompe. I ticket restano aperti finché qualcuno non li chiude. Abbonati di nuovo per ripristinarla.

### La chiusura automatica all'uscita è disattivata

La chiusura automatica all'uscita è disattivata per impostazione predefinita. Se vuoi che i ticket si chiudano quando il loro autore lascia, attivala nelle Impostazioni.

### Il ticket non è ancora inattivo

Qualsiasi messaggio nel ticket, dallo staff o dal membro, riavvia il timer di inattività. Se qualcosa continua a pubblicare nel canale, il ticket potrebbe non raggiungere mai il periodo di inattività.

## Non c'è stato alcun avviso prima della chiusura

Il bot non pubblica un avviso prima di una chiusura per inattività. Il ticket si chiude semplicemente. All'autore viene comunicato che il suo ticket è stato chiuso, e la chiusura appare nel canale dei log di chiusura. Se vuoi che una persona esamini prima i ticket inattivi da troppo tempo, disattiva la chiusura automatica per inattività e fai chiudere i ticket manualmente dallo staff.

## Molti ticket si sono chiusi tutti insieme dopo un'interruzione

Se il bot era offline, le chiusure per inattività aspettano finché non torna online. Quando si riconnette, quelli in scadenza si chiudono insieme. È normale.

## Come verificare una chiusura automatica specifica

* Controlla la voce del log di chiusura relativa al ticket. Il motivo della chiusura mostra se si è chiuso per inattività o perché l'autore ha lasciato.
* Confronta l'ora di apertura del ticket e l'ora dell'ultimo messaggio con il tuo periodo di inattività.

## Correlati

{% content-ref url="/pages/d6ce4b588a0cacf775114332ceb23dcb49e7705a" %}
[Regole di inattività](https://ticketking.xyz/docs/it/ticket/inactivity-rules.md)
{% endcontent-ref %}

{% content-ref url="/pages/28f8604bd5053f0bb68da3874dcbb62e08c21f97" %}
[Chiusura di un ticket](https://ticketking.xyz/docs/it/ticket/closing-a-ticket.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ticketking.xyz/docs/it/risoluzione-dei-problemi/auto-close-misfired.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
