What matters here
- Search for an existing issue before opening one. Ten issues for one bug split the evidence ten ways.
- Attach the evidence once, at escalation: steps, account, environment, logs and screenshots. Engineering should never have to ask the customer again.
- Link every affected ticket to the issue. The count of customers and the revenue behind them is what gets a bug prioritized.
- Send status back to every linked ticket automatically. The agent should know before the customer asks.
- Tell every affected customer when the fix ships. That message is the one they remember.
Who this is for
You run support operations or lead an escalations team. Agents raise bugs in Jira by hand, duplicates are common, and customers hear about fixes when they chase.
How it works in practice
What has to happen between an agent confirming a bug and the customer hearing it is fixed.
- 1
The agent marks the ticket as a confirmed bug
With the product area and the steps to reproduce, from a short form in the help desk.
- 2
Existing issues are searched before a new one is opened
By product area, error text and summary, with likely matches shown to the agent to pick from.
- 3
The issue carries the evidence and the impact
Steps, environment, logs and screenshots from the ticket, plus the number of customers and the revenue on the linked accounts.
- 4
Every ticket about the bug is linked to it
New tickets on the same bug join the issue, and the customer count and revenue on the issue update.
- 5
Issue status flows back to every linked ticket
Triaged, in progress, fixed in a release: each change appears on the ticket as an internal note.
- 6
Each customer is told when the fix ships
A drafted reply on every linked ticket for the agent to send, or sent on its own for simple cases.
What escalation to engineering is made of
Four parts, and the last is the one customers notice.
One issue per bug
An existing issue found before a new one is opened, with the agent choosing from likely matches.
Evidence and impact attached
Everything engineering needs to reproduce it, and the customers and revenue it touches, on the issue from the start.
Status on every ticket
Each change on the issue written back to every linked ticket, so agents never have to check Jira.
The fix reaches the customer
A reply on every linked ticket when the fix ships, so each affected customer hears it from you first.
The Tray Headless prompts
Paste these into Claude Code or Codex with the Tray Headless plugin installed. Each stage runs on its own. The systems named in them are the worked example rather than a requirement, and every prompt says so.
Once per project, run /tray-workflows:set-workspace to pick the workspace
these build in. Point it at a sandbox first.
First, map how bugs reach engineering today
The duplicates and the dead ends are in the current process.
- build-workflow
Use build-workflow. The systems in play are Zendesk, Jira, Salesforce and Slack, or whatever we run in those seats. Before you plan anything, tell me which of them are already authenticated in the workspace.
From Zendesk I need the Ticket model with custom fields and any existing Jira link fields. From Jira I need the project engineering takes support bugs in, its issue types, components, statuses and the fix version field. From Salesforce I need Account with annual contract value, tier and account owner.
Tell me how many open Jira bugs have more than one Zendesk ticket attached today, and how many Zendesk tickets reference a Jira key in a comment but have no link. That is the size of the problem.
Find the existing issue before opening one
Ten issues for one bug split the evidence ten ways.
- build-workflow
Use build-workflow. When an agent marks a ticket as a confirmed bug, search open Jira issues in the support project by component, error text and summary. Show the agent up to three likely matches in the ticket sidebar, with status and how many tickets are already linked.
If the agent picks one, link the ticket to it. If none fits, open a new issue with the steps to reproduce, environment, browser or app version, the account, and the logs and screenshots attached to the ticket.
Never pick a match on the agent's behalf. A ticket linked to the wrong bug is told it is fixed when it is not.
Put the impact on the issue
The count of customers and the revenue behind them is what gets a bug prioritized.
Keep two fields on every support-linked issue up to date: the number of linked tickets from distinct accounts, and the total annual contract value of those accounts. Add a label when any linked account is top tier or in renewal.
When the count passes a threshold support sets, post the issue to the engineering triage channel in Slack with the impact attached, once.
Send status back, and close the loop on release
The agent should know before the customer asks.
- tray-patterns
Use tray-patterns. When a linked issue changes status, write an internal note on every linked ticket with the new status and, where set, the fix version.
When the issue is resolved and its fix version is released, draft a public reply on every linked ticket telling the customer what was fixed and in which release, and assign it to the ticket's agent to send. For tickets support has marked as safe to auto-send, send it and set the ticket to solved, pending the customer's confirmation.
If an issue is closed as won't fix or can't reproduce, tell each agent instead. Those customers need a person, not a template.
Validate, then hand the rules to support ops
Because thresholds and auto-send rules are support judgment.
Run the per-step schema checks and the whole-workflow audit before this touches production. Test the reopen case: a fix that does not hold reopens the issue, and every linked ticket should hear about it.
Then open the same workflow in Tray Build so support operations can change the impact threshold, the auto-send rules and the reply templates in the visual canvas.
What it connects to
Support holds the customers, engineering holds the fix, and the CRM says what is at stake.
-
Zendesk Read confirmed bugs and their evidence, link tickets to issues, and write status notes and drafted replies. Reads and writes -
Jira Search for existing issues, open new ones with evidence, keep the impact fields current, and read status and fix versions. Reads and writes -
Salesforce Read contract value, tier, renewal date and account owner for every linked account. Reads
-
Slack Post high-impact bugs to engineering triage once, and tell account owners when a fix for their customer ships. Writes
-
GitHub Read the release a fix shipped in, where releases are tracked there rather than in Jira. Reads
Named systems are the ones most teams run, not the only ones that work. Each is an authentication in your Tray workspace, referenced by name, so the workflow never holds a credential.
Same build, other stacks
The design does not change if you run something else in one of these seats. The same prompts build it against Microsoft Dynamics 365, Microsoft Teams, ServiceNow, HubSpot, Google Chat or Jira Service Desk.
Connections in this build
Field mapping, templates and common problems for each pairing: Zendesk + Jira, Salesforce + Zendesk, Jira + Salesforce and Slack + Zendesk.
Running it in production
This sits between two teams. When it breaks, each one assumes the other is handling the customer.
- 1
It runs on the platform, not on a laptop
Status changes and releases flow back within minutes, including the release that fixes a bug forty customers reported.
- 2
Every link is traceable
Which ticket joined which issue, who picked the match, and every update sent back. When a customer asks why they were not told, the answer is there.
- 3
Credentials are managed, never written into the build
The help desk and Jira credentials live in your workspace, scoped to the support project and the fields this needs.
- 4
Support ops owns the rules
Impact thresholds, auto-send rules and reply templates open in Tray Build, changed by the team that talks to customers.
- 5
Nothing is matched on a guess
The agent picks the issue. A ticket linked to the wrong bug gets told it is fixed when it is not.
Further reading
Background on the same subject, for the case rather than the build.