> For the complete documentation index, see [llms.txt](https://learning.contextqa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learning.contextqa.com/enterprise-application-testing/ship/ticket-driven-testing.md).

# Ticket-Driven Testing

Configure ticket-triggered QA in ContextQA with Jira, Linear, ClickUp, environment labels, reproduction limits, saved regression tests, and fix revalidation.

> **Documentation owner:** [Deep Barot](https://contextqa.com/academy/) · **Last updated:** November 11, 2026

## Quick answer

ContextQA turns a connected bug report into a reproduction attempt and retained evidence. Configure the target environment, trigger labels or events, and run limits in **Settings → Bug Reproduction Settings**. When a previously reproduced ticket moves to a configured QA status, ContextQA can rerun its saved test and report **Fixed**, **Not fixed**, or **Could not verify**.

## Key takeaways

* Select the target environment and test data before enabling ticket triggers.
* Keep reproduction, fix revalidation, and new-feature acceptance testing distinct.
* Use the evidence and current build to interpret each verdict.

## What problems does ticket-driven QA solve?

A ticket often arrives without an executable regression test. Reproduction converts its expected and observed behavior into evidence a developer can inspect. Revalidation closes the loop after the developer changes the application. The linked test then remains useful in release regression coverage.

| Workflow                           | Starting point                           | Expected output                                                                    |
| ---------------------------------- | ---------------------------------------- | ---------------------------------------------------------------------------------- |
| Bug reproduction                   | Report of incorrect behavior             | Reproduction verdict, observed steps, evidence, and a regression case when created |
| Fix revalidation                   | Previously reproduced ticket moves to QA | A fresh run of the saved test and a fix verdict                                    |
| Feature acceptance / ticket impact | New behavior described by a ticket       | Reviewed acceptance cases, followed by execution on the implementation             |
| PR impact                          | Repository diff                          | Existing coverage to rerun and proposed coverage changes                           |

## Before you start

Connect the intended Jira, Linear, or ClickUp workspace in **Integrations**. Confirm access to the relevant projects and the ContextQA organization receiving events. Prepare a reachable test environment, approved test identity, and data profile. Deploy the application version you want to investigate.

![ContextQA integrations catalog with Slack, Linear, Jira, GitHub, and GitLab](https://4255556216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKlyaXxb76z3Dn47TrZkU%2Fuploads%2Fgit-blob-9b94d70882886106feadd2c58761f2ac0d35ff29%2Frepository-tracker-integrations.jpg?alt=media)

### Connect Jira or ClickUp

For Jira, use the supported Atlassian connection flow and verify the selected site and project access. Inspect the integration's webhook state when shown. A successful authorization and a working event subscription are separate checks.

For ClickUp, authorize the intended workspace and review the workspace named by the connection. Configure QA statuses using that workspace's actual status names. Trigger labels are ClickUp task tags. Do not assume a List-only boundary: review the workspace scope before enabling automatic actions.

## Step 1: choose defaults and ticket overrides

Open **Settings → Bug Reproduction Settings**. Select the default **Environment** and its **Data Profile**. A ticket can identify a different configured environment using `env:staging` or `environment:staging`, and a data profile using `dataprofile:checkout`. The value after the colon identifies the configured name.

Keep passwords and session material in managed configuration. Ticket text should describe the test identity's role and prerequisites without including credentials.

## Step 2: select reproduction triggers

Choose **Only tickets with a trigger label** for an explicit opt-in workflow, or **Every new ticket** when your project policy calls for broader processing. Review the individual events: new ticket, trigger label added, title/description edited, and a person commenting `/reproduce`.

Set **Max reproductions per ticket** and **Max reproductions per day**. An edited description can initiate another full attempt when that event is enabled. Save with **Update**, then verify the saved policy using one representative report.

![Bug reproduction defaults, environment labels, and automatic trigger controls](https://4255556216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKlyaXxb76z3Dn47TrZkU%2Fuploads%2Fgit-blob-f1d1ac3946c8d5be7eab9fcd0ca3d5f538037215%2Fbug-reproduction-triggers.jpg?alt=media)

## Step 3: write a reproducible report

Provide the starting URL, application build, role, safe setup data, numbered actions, expected result, actual result, and the point at which to stop. Say which record the test may create or change. For intermittent behavior, state the conditions under which it occurred instead of implying every run must fail.

## Step 4: interpret the result

| Result                              | What it means                                              | What to do next                                                             |
| ----------------------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------------- |
| Reproduced                          | The attempt found the reported behavior                    | Inspect expected versus actual, run evidence, and saved regression coverage |
| Not reproduced                      | The attempt did not observe it under the tested conditions | Compare environment, role, data, and build with the report                  |
| Couldn't tell / could not determine | Available evidence cannot settle the claim                 | Answer the report's clarification or repair access/data, then retry         |
| In progress                         | The attempt has not reached a final outcome                | Open the live run and wait for its terminal status                          |

An unrelated test failure is not proof of the reported bug. An inconclusive result is not a fix verdict. Retain earlier attempt links when a new attempt supersedes the analysis.

## Step 5: revalidate the fix automatically

1. Open **Re-validate fixes** on the same settings page.
2. Enable **Re-validate automatically**.
3. Enter the QA status names, separated by commas. Matching is case-insensitive.
4. Select the target environment, or retain **Same as the reproduction**.
5. Save and deploy the fixed build before moving the ticket to the configured status.
6. Inspect the fresh run and its **Fixed**, **Not fixed**, or **Could not verify** result.

Only tickets ContextQA reproduced earlier are eligible for this saved-test rerun. Each revalidation consumes a test run; a status change alone does not prove the fix.

![Reproduction event limits and the Re-validate fixes control](https://4255556216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKlyaXxb76z3Dn47TrZkU%2Fuploads%2Fgit-blob-68099992bf081546a63b2196d2274a996d8fd039%2Fbug-fix-revalidation.jpg?alt=media)

## How should a new feature ticket be tested?

A new feature needs acceptance criteria rather than a defect reproduction. Import or generate requirements from the ticket, review positive, negative, permission, and boundary scenarios, then execute accepted cases against the feature build. Review linked existing tests before adding duplicates. Use [requirements generation](https://learning.contextqa.com/enterprise-application-testing/ai-features/generate-tests-from-requirements-tutorial.md) and [PR impact analysis](https://learning.contextqa.com/enterprise-application-testing/ai-features/pr-impact-analysis.md) to connect ticket intent to code-change scope.

## Troubleshooting and FAQs

### Why did a ticket not start a run?

Check the connection's organization, project/workspace access, webhook state, labels or tags, event selection, daily cap, credits, and target reachability. Do not broaden the trigger policy until you identify which condition prevented the attempt.

### Why did moving a ticket to QA not revalidate it?

Check that it was reproduced previously, the status name matches, revalidation is enabled, and the fixed deployment is reachable. Feature tickets without a saved reproduction test require their own acceptance-testing workflow.

### Where do linked issues appear?

Use **Issues** on the relevant run or dashboard to inspect linked tracker records and evidence. A disconnected integration may leave a read-only record of the earlier link. Removing a ContextQA link does not delete the external issue.

Next: [Verify AI-generated fixes](https://learning.contextqa.com/enterprise-application-testing/ship/testing-ai-generated-code.md) · [Release readiness](https://learning.contextqa.com/enterprise-application-testing/ship/release-readiness.md).

## Link the evidence back to the work item

![Issues drawer offering Link existing or Create issue with run failure context](https://4255556216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKlyaXxb76z3Dn47TrZkU%2Fuploads%2Fgit-blob-86dabc5c254c2ab220470ed9ce39fd9e0f9c0fee%2Flinked-issues-run-evidence.jpg?alt=media)

Open **Issues** from the run, choose an existing work item or create one through the connected tracker, and verify the resulting link. The screenshot shows an empty drawer, not a completed tracker submission. Review the prefilled failure report before sharing it so it includes the useful expected/actual behavior without secrets.


---

# 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://learning.contextqa.com/enterprise-application-testing/ship/ticket-driven-testing.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.
