Connectors

/

Ghost Inspector

/

Ghost Inspector suite health against the Jira backlog
Report
Cross-Connector

See which failing Ghost Inspector tests have no Jira owner

For engineering leads who want a suite's failing tests matched to open Jira bugs and assignees, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Ghost Inspector suite health against the Jira backlog
How healthy is the Checkout suite in Ghost Inspector, and which failing tests have no bug in the WEB Jira project?
The Checkout suite passed 71 percent of runs in 14 days, down from 88 percent. - Worst: Guest checkout fails 80 percent of runs, no Jira bug - Tracked: Apply coupon, WEB-1042, In progress, Jordan Lee - Pattern: failures cluster in Safari Top priority: raise a bug for Guest checkout. Want the full worst-first table?
Ghost Inspector
Sample figures. Your results come from your own account.
ghost-inspector-get-suite
ghost-inspector-get-suite-result
ghost-inspector-get-test-result
jira-get-issue
jira-get-project

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Ghost Inspector

Ghost Inspector
Run it on your own Ghost Inspector data.

Connect Ghost Inspector, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

A failing suite with no owner for the failures

A suite's pass rate tells you something is wrong, but not whether anyone owns it. Seeing which failing tests have an open Jira bug and an assignee means combining weeks of runs with backlog searches, one test at a time.

Without PopdockAI

  • Read weeks of suite runs for the pass rate
  • Work out each test's failure rate
  • Search Jira for a bug per failing test
  • Guess which gaps cost the most

With PopdockAI

  • Suite runs give the pass rate and direction
  • Each test's failure rate is shown with at least three runs
  • Failing tests are matched to open Jira bugs and assignees
  • Untracked tests failing most come first, and nothing changes

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Report the health of Ghost Inspector suite {suite-name} and set it against the open bug backlog in Jira project {jira-project-key}, over the last {lookback-days} days (default 14), so the worst tests with no owner are visible. This prompt reports only. It creates and changes nothing.

**Step 1: The suite**

Call `ghost-inspector-get-suite` on the ghost-inspector server with `name.contains` set to {suite-name}. Keep its id, test count, organization, browser, region and frequency. If more than one suite matches, list them and stop.

**Step 2: Suite-level history**

Call `ghost-inspector-get-suite-result` with `suite-id` set to the suite's id and `date-created.from` set to the start of the window, `max-records` 100. From the passing, failing and unknown counts on each row, work out the suite pass rate across the window and whether it is improving or worsening between the first and second half of it.

**Step 3: Test-level history**

Call `ghost-inspector-get-test-result` with `suite-id` set to the suite's id and the same `date-created.from`, `max-records` 300.

For each distinct test name, count runs and failures and compute a failure rate. Rank the tests by failure rate, breaking ties by number of runs.

**Step 4: Match to the backlog**

For each test with at least one failure, call `jira-get-issue` on the jira server with `project-key` set to {jira-project-key} and `summary.contains` set to the test name, `max-records` 20. Record the key, status and assignee of any issue that is not Done, Closed or Resolved.

**Step 5: Report**

Lead with one line: the suite name, its pass rate across the window, the direction of travel, and how many of its failing tests have no open ticket.

Then a table, worst first: test name, runs, failures, failure rate, browsers it fails on, Jira issue key or the word none, Jira status, assignee or unassigned.

Then a short ranked list of what to act on first. Put an untracked test failing most of the time above a tracked one that fails occasionally, and say why each entry is where it is.

**Rules & Guidelines:**

* `ghost-inspector-get-suite`, `ghost-inspector-get-suite-result` and `ghost-inspector-get-test-result` are on the ghost-inspector server. `jira-get-issue` and `jira-get-project` are on the jira server. All three servers must be connected.
* The linking convention used by every prompt on this server: a Jira issue raised from a Ghost Inspector failure has a summary beginning `Ghost Inspector failure: ` followed by the test name, and its first comment contains the line `Ghost Inspector result id: ` followed by the result id. Matching in both directions depends on this, so do not vary the wording.
* Do NOT call any write tool. Specifically do not call `jira-add-issue`, `jira-add-issue-comment`, `jira-update-issue`, `jira-assign-issue`, `ghost-inspector-execute-suite`, `ghost-inspector-execute-test`, `ghost-inspector-update-suite` or `ghost-inspector-add-suite-result-comment`.
* Report a failure rate only where there were at least three runs in the window, and mark thinner tests as insufficient data rather than showing a rate from one run.

**Validation:**

* If the suite has no results in the window, report that it has not run and check its frequency setting to say whether it is scheduled at all.
* If `jira-get-issue` returns nothing for every test, confirm the project key with `jira-get-project` before reporting the whole suite as untracked.
* If a test's failures all fall on one browser or region, say so on its row. It changes what the fix is.

Who it's for

One answer, three teams that use it

QA leads

See which failures have no owner

A ranked list puts untracked tests that fail most of the time at the top.

Which failing tests in the Search suite have no open bug in the APP Jira project?

Engineering managers

Check bugs are assigned

Status and assignee for each failing test's bug show where work is stalled.

For the Nightly regression suite, which failing tests have a Jira bug with no assignee?

Developers

Find failures in your area

A worst first table shows which tests in your suite need attention and who has them.

Show the health of the Account settings suite in Ghost Inspector with the Jira bug for each failing test.

How it works

What PopdockAI does when you ask

You name the suite and the Jira project, and your AI assistant sets the suite's health against the backlog. It notes when failures sit on one browser or region.

01

Ask

You name the suite and the Jira project.

Your AI tool

02

Read

It reads the suite's runs for pass rate and trend, then each test's failure rate.

ghost-inspector-get-suite
ghost-inspector-get-suite-result
ghost-inspector-get-test-result

03

Match

It matches every failing test to open Jira bugs with status and assignee.

jira-get-issue
jira-get-project

04

Report

You get a worst-first table and a ranked list of untracked tests, changing nothing.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Ghost Inspector and one secure connection to your AI tool. No code, no exports.

get-data

ghost-inspector-get-suite

Returns the test suites defined in Ghost Inspector, with the folder and organization they sit in and the browser, region and start URL their tests run with. Filter by organization, folder, name, browser or region, or fetch a single suite by ID.
get-data

ghost-inspector-get-suite-result

Returns Ghost Inspector suite runs, with the number of passing and failing tests in each, the run timing and the suite they belong to. Filter by suite, date range, pass state, or a minimum count of failing tests.
get-data

ghost-inspector-get-test-result

Returns individual Ghost Inspector test runs, including whether the run passed, how long it took, and the test and suite it belongs to. Filter by test, suite, browser, date range, pass state, or a minimum execution time for finding slow runs. This is the tool to start from when investigating a failure.
get-data

jira-get-issue

Returns Jira issues with their project, issue type, status, assignee, reporter, dates and estimates. Filter by project, status, assignee or date range to pull a backlog, a sprint or one person's open work.
get-data

jira-get-project

Returns the projects in a Jira site with their key, lead, project type, category and issue counts. Use it to resolve a project name to its key before querying issues.
Read only.Nothing in Ghost Inspector Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Fix the costliest unowned failures first

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation