Blog

What happens when an AI agent tries to delete a ticket

Over MCP, deletes, bulk changes and emails start with a preview that changes nothing. The confirmation works once and expires after five minutes.

The Read only and Read and write options, with Read and write noting that deleting asks you to confirm first

An agent that can edit tickets will sooner or later be asked to delete something. "Clean up the test tickets." "Drop that old link." The request is clear in your head. Which tickets the agent thinks you meant is another matter.

In Tiqzen, an AI agent connected over MCP (the protocol AI assistants use to work with other apps) can't delete anything on its first try. Below is what you see, which actions work this way, and where the limits are. It applies to connections with Read and write access. A Read only connection is refused before it gets this far, as MCP setup guide: work tickets from Claude Code, Codex and Cursor explains.

The preview

Say you ask the agent to delete a test ticket. Its first call changes nothing. Tiqzen answers with a reply that begins "Nothing has been changed yet. Confirmation needed:" and then a summary in plain words:

Delete ticket SHOP-142 "Test: checkout button" in project storefront for good. It also deletes its 2 comments, 1 attachment. This cannot be undone.

The same reply tells the agent to show you that summary, to call again only if you say yes, and never to confirm for you. A well-behaved agent stops here and asks.

If you agree, the agent sends the same request again together with the confirmation it received. Only then is the ticket deleted. If the ticket has child tickets, the summary says they will be kept and detached from it, and that its checklist items will be deleted, so you know before you answer.

Which actions ask first

Anything you would want to see before it happens. Over MCP that covers:

  • deleting a ticket, comment, file, tag, link, project document, chat message, time entry, empty sprint, fix version, workflow or widget translation, and disconnecting a GitHub repository;
  • every bulk change, on up to 1,000 tickets per call;
  • emails to a bug reporter, previewed as the exact email that will go out;
  • changes to who has access, such as removing someone from a project, adding an external member, inviting or deactivating a workspace user, or changing someone's role;
  • releasing a fix version, approving a timesheet week (which is final) and switching a project to another workflow.

Normal edits don't ask. Changing a status, assigning a ticket or moving it to another sprint is as easy to undo as the same edit in the app, so those run on the first call. If every edit asked, people would stop reading the questions.

The confirmation is narrow

The confirmation an agent receives belongs to one request. It is tied to your account and workspace, to the same action and to exactly the details of the first call. It can't be reused for another ticket or by another person, and it works once.

It also expires after five minutes. An agent that comes back later has to fetch a new preview, and you get asked again.

If something changed in between

A preview names real things: ticket IDs and titles, how many comments go with them, who an email goes to. When the agent confirms, Tiqzen builds the preview again and compares the two. If they differ, nothing happens and the agent is told to ask you again.

Deleting a tag shows how this works. The preview says how many tickets carry the tag and in which projects. If that count changes before you answer, the delete is refused, because you would otherwise approve one thing and get another.

Emails work the same way. The preview names the recipient, the language and the subject, and the email that goes out is exactly the one you approved.

Bulk changes need one more question

Bulk previews say the least. A bulk delete names up to 20 of the tickets it will delete. Every other bulk change says only the change and the number of tickets, such as "Change status to resolved on 14 tickets." So before you agree, ask the agent to list the tickets it means.

That list is also what you confirm. The agent turns "all open tickets in Sprint 14" into a fixed list of ticket IDs. If one of them is deleted or drops out of your reach before you say yes, the confirmation is refused. When the change runs, tickets the app doesn't let you change are skipped and reported with a reason.

Why the question goes through the agent

MCP has a way for a server to ask you something in the middle of a request, but our server answers each request on its own and can't hold one open to ask. So the question travels through the agent: the first reply is the question, and the agent puts it in front of you. Because it relies on nothing more than an ordinary reply, it works in every MCP client.

The limit to keep in mind

Tiqzen can't see your screen. It can't prove that a person read the preview and said yes, and an agent that ignores its instructions could send the confirmation straight back. What stands in the way is the reply itself, which says nothing has changed yet and that the agent must ask you, plus whatever approval step your client has. The MCP specification says applications should keep a human in the loop who can deny a tool call, so check what yours does.

So before you say yes, read the list of tickets as well as the count. And match the access to the supervision: if nobody will read the previews, connect the agent as Read only. It never receives a confirmation, so it can never delete anything.

← All posts

Start tracking bugs the modern way

Free plan includes the capture widget (100 reports a month) and MCP access. No credit card, live in minutes.