skip to content

Raising a Ticket

Filing a tracker item straight from a failed execution: what the product pre-fills from the run, how the evidence crosses, the back-link on each side, and what stops one failure being filed twice.

on this pageshow

explore

questions

4

In a TestRail-class case repository, what does filing a defect straight from a failed execution pre-fill into the new tracker item?

level: juniorimportance: must knowfreq 64%

answer

  1. the draft opens already populated
  2. case, cycle, environment, executor, evidence
  3. copied from the record, not retyped
  4. destination and narrative stay human

basics

~20 s

Filing from a failed execution pre-fills the draft ticket with the run's context: which case failed, which cycle it ran in, the environment or build under test, who recorded the result, and the comment and evidence captured at failure time.

solid answer

~40 s

The repository files the ticket for you instead of making you retype the run. The draft that opens is seeded from the execution record: the case that failed and often the step it failed on, the cycle or run it belonged to, the environment or build that cycle declares, who recorded the result and when, plus the failure comment and whatever the tester attached. The value is not typing speed — it is that provenance is copied from the record rather than remembered by a human, so the ticket cannot quietly disagree with the run it came from. Anything the run has no source for is left for a person: the destination in the tracker is a configured decision, and the summary, the impact and the ranking are still the filer's to write.

go deeper

for a junior

Be able to list what travels from the run into the draft — the case, the cycle, the environment, the executor, the comment and the attachments — and say plainly that the draft still has to be edited before it is submitted.

for a middle

Explain why the copy is taken from the execution record rather than typed: provenance that cannot disagree with the run, and a pairing written at creation time. Name the parts the run has no source for.

for a senior

Show where pre-fill quietly lies in production — a cloned cycle declaring last release's build, an empty comment copied faithfully, a snapshot that stops tracking the run it came from — and what you check before trusting it.

for a principal

Own the tradeoff between a one-action file and a form that forces real detail. Cheap filing raises the count of tracked failures and lowers the quality of each; decide which failure mode your team can afford.

## What "filing from the run" actually is A case repository — a TestRail-class product that lives beside the tracker, or a Jira-resident one such as Xray or Zephyr that lives inside it — stores **executions**: a case, run inside a **cycle**, given an outcome by someone at a moment in time. When that outcome is a failure, the product offers an action that opens a **new tracker item already populated from the execution record**. The alternative it replaces is a human opening the tracker in another tab and retyping what they just saw. The important word is *pre-filled*, not *filed*. The product produces a draft; a person still submits it. ## What the run can supply - **The case identity** — which case failed, and in step-level products which step it failed on. Read from the execution, not from recollection. - **The cycle or run** — the container the execution belongs to, which is what lets the ticket answer "found where, in which pass of testing". - **The environment, build or configuration** the cycle declares — the closest thing the repository has to "what was under test". - **The executor and the timestamp** — who recorded the failure and when, so the ticket has someone to ask. - **The failure comment and the evidence** the tester captured on the result: the note, and any screenshot, log or capture attached to it. - **A reference back to the execution**, so the ticket is not an orphan and the run is not silently untracked. ## What the run cannot supply 1. **A destination.** Which tracker project and which item type the draft becomes is configuration, not something the execution knows. 2. **A narrative.** The pre-fill is provenance, not a report. What the reader must do to see the failure again, and what they should have seen instead, is written by the filer. 3. **A ranking.** How badly it matters is a human judgment call made in the tracker, not a value the run carries. | Part of the draft | Where it comes from | Still needs a human | |---|---|---| | Which case failed, at which step | the execution record | no | | Cycle, environment, build | the cycle the execution ran in | no | | Who recorded the failure, and when | the execution record | no | | Comment and attached evidence | what the tester captured at the time | usually — a one-word comment is not a report | | Destination project and item type | configuration | set once, not per ticket | | Summary line, impact, ranking | nothing — the filer writes it | yes | ## Why copying beats retyping 1. **Provenance cannot drift.** A retyped ticket says "failed on staging" because that is what the tester remembers; a pre-filled one says what the cycle actually declared. 2. **The reverse lookup exists from the first second.** Because the draft is created *from* the execution, the product can write the pairing between run and ticket at the same moment, instead of hoping someone pastes an identifier later. 3. **The second and third failure become cheap.** When filing costs one action, testers file; when it costs a context switch and ten fields, they write "see the run" in a chat message and the failure never becomes a tracked item. ## Where the pre-fill misleads - **The environment is a declaration, not an observation.** It is whatever the cycle was configured to say. If the cycle was cloned from last release and never updated, the ticket confidently names the wrong build. - **It is a snapshot taken at filing time.** Editing the run's comment afterwards does not rewrite the item that was already created; the two can diverge. - **A pre-filled draft looks finished.** A title that is just the case name reads like a report and is not one — reviewers skim it, and the developer who picks it up learns only which case was unhappy. - **An empty comment pre-fills as an empty comment.** The action copies what exists; it cannot manufacture detail the tester did not record. The honest summary for an interview: pre-filling is about **copying provenance the machine already knows**, so the human spends their effort on the part only a human can write.

  • If the tester edits the run's failure comment after filing, does the ticket text change too?
    No. The pre-fill is a copy taken at the moment the draft was created, not a live view of the execution. From then on the two texts drift independently, which is one reason the pairing between the run and the ticket matters more than the copied prose: the link survives edits on either side, the copied sentence does not.
  • Which part of a pre-filled draft should the filer always rewrite before submitting?
    The summary line. Pre-fill gives it the case name and the cycle, which identifies where the failure was found but not what is broken. A reader triaging a queue sees only that line, so it has to state the fault. The copied provenance underneath is exactly what should be left alone.

saying these in an interview costs you the question

  • Assumes the pre-filled draft is a finished defect report
  • Thinks the environment value was observed, not declared by the cycle
  • Expects later edits to the run to update the filed ticket
  • Believes the repository picks the tracker project per ticket
open as a page

When a TestRail-class case repository files a ticket from a failed run, what is the difference between attaching the evidence bytes and pasting a deep link back to the run, and how does each fail?

level: middleimportance: must knowfreq 58%

basics

~20 s

Attached bytes travel with the ticket, so any tracker user can open them; a deep link stays behind the repository's login and is a dead page to a developer with no account there. Copies also duplicate storage and freeze at filing time.

open as a page

A shared environment breaks and forty cases fail in one cycle of a TestRail-class case repository. What stops that becoming forty tracker items, and where does that protection stop working?

level: seniorimportance: nice to knowfreq 44%

basics

~20 s

Suppression covers a repeat filing of the same case within the same cycle: the action offers the existing item instead of creating another. It cannot help here - forty different cases are forty keys, so each is a legitimate first filing.

open as a page