In development

SC Quality administrator guide

This guide is for Jira administrators and the engineers who connect CI. It covers how the app is built, permissions, automation setup, data handling, limits and troubleshooting. Day-to-day use is in the user guide.

In development

SC Quality is not yet available on the Atlassian Marketplace. This guide describes the app as it is built and tested today.

How SC Quality is built

SC Quality is an Atlassian Forge app: its screens, logic and storage all run on Atlassian's platform inside your site.

Diagram. Everything runs inside your Jira Cloud site on the Atlassian platform, with no outside servers. Your CI pipeline sends results with an upload token to the site's upload address. The story panel and project page act as the signed-in user. Both feed the SC Quality engine, which handles reports, access control from Jira permissions, cost guards and audit. The engine uses Forge SQL (one database per site) and Jira data (issues, permissions, attachments), and scheduled jobs handle retention, privacy and history.
Everything runs inside your Jira site on Atlassian.

People use SC Quality through the story panel and the project page, which act as the signed-in user. CI posts results to the site's upload address with a token. The engine works out reports, enforces Jira permissions and usage limits, and records an audit trail. Data is kept in Forge SQL and, for evidence, as Jira attachments. Scheduled jobs handle retention, personal data reporting and status history.

Permissions

SC Quality installs like any Jira Cloud app and needs no new issue types, fields or project configuration. Installation steps are on the installation page.

Who can do what. Roles come from Jira permissions each time a user opens SC Quality:

Jira permissionSC Quality role
Browse projectsViewer: read everything in that project
Create or edit issuesTester: write tests, record runs, add evidence
Administer projects, or Jira administratorAdmin for that project
Granted in AdministrationLead (quarantine) or approver (concessions, sign-off)

Installation-wide settings need admin in every project the person can see; in practice this means Jira site administrators. Losing Browse permission in Jira removes access to that project in SC Quality. A role granted in Administration can only raise someone who can already browse the project; it never grants access Jira refuses.

Permissions the app asks for (scopes):

ScopeWhy
read:jira-workRead issues, projects, sprints, versions, permissions and attachments, as the signed-in user
write:jira-workSave evidence as attachments on the story, create defects and run optional automation rules, as the signed-in user
read:jira-userShow the signed-in user's display name (email is never stored)
report:personal-dataAtlassian's weekly personal data report, so closed accounts are anonymised
read:space:confluenceList the spaces a user can publish a report to, as that user
read:page:confluenceFind the parent page and the version of a page SC Quality published, as the user
write:page:confluenceCreate or update the published report page, as the user

SC Quality reads and writes Jira as the person using it, so Jira's own permissions always apply. Scheduled jobs (daily maintenance, the weekly personal data report, status history for analytics) use the app's own read access only.

Connecting CI

CI sends results to your site's own upload address with a per-repository token. Tests then appear in the library automatically.

Client tools not yet published

The Playwright reporter and the scq command line are built and tested but are not yet on the public npm registry. They will be published before SC Quality is listed. The steps below describe how setup will work.

1. Create an upload token. A project admin opens Integrations in SC Quality, enters the repository exactly as CI reports it (for example git:github.com/acme/web-shop) and creates a token. Copy it immediately: it is shown once, and SC Quality keeps only a fingerprint (SHA-256 hash). Store it as the CI secret SCQ_TOKEN. The same card shows the site's upload address.

2. Add sc-quality.json to the repository root. It holds no credentials; the client refuses any key that looks like one.

{
  "projectKey": "WEB",
  "serverUrl": "<upload address from the Integrations page>",
  "repo": "git:github.com/acme/web-shop",
  "trustedBranch": "main"
}

3. Hook into your existing test run.

  • Playwright: add ['@scq/reporter-playwright'] to reporter in playwright.config.ts. Each test.step becomes a readable step, expect calls become assertions, retries become attempts. Tag tests with Jira keys (@WEB-101) and mark the steps that prove a story with [WEB-101] in the step title.
  • Anything that writes JUnit XML (Maven Surefire, pytest --junitxml, jest-junit): after the tests run npx scq import junit "reports/**/*.xml". JUnit has no steps, so steps are recorded as not provided, never invented.
  • Other formats: npx scq import trx (.NET), pytest (pytest-json-report), cucumber (Cucumber JSON, with real steps) and mochawesome (Cypress). Files are limited to 50 MB and parsed with protections against malicious input.
  • GitHub Actions (excerpt):
- name: Run Playwright tests
  run: npx playwright test
  env:
    SCQ_TOKEN: ${{ secrets.SCQ_TOKEN }}
- name: Send kept-back results
  if: always()
  run: npx scq publish
  env:
    SCQ_TOKEN: ${{ secrets.SCQ_TOKEN }}

How uploads behave.

  • A token can only upload for its own project and repository.
  • Every batch is written to a local spool before sending and removed only once accepted. If uploads are paused, rate limited or unreachable, scq publish sends them later. Re-sending the same batch never duplicates runs.
  • Only the trusted branch (set by a project admin) with a complete step list can change a test's official steps. Other branches record results against the current version.
  • Check a setup without storing anything with npx scq dry-run.

Read-only access for scripts and AI assistants

Planned, not yet available

A read-only mode of the scq command line, and a matching server for AI assistants using the Model Context Protocol, are built and tested against a development build. Reading from a Jira installation is not available: the site's upload address only accepts CI uploads and always gives a fixed reply, so it cannot return data. Remote reading needs its own per-user sign-in design first.

When available, the reads will be: a report for a scope, open failures, a test search, a story and a release recommendation, as text or JSON. Everything is read-only, acts as one configured user with that user's permissions, and reads its token only from an environment variable, never from a configuration file.

Data, security and privacy

All SC Quality data stays on Atlassian's platform, in storage dedicated to your site. The full detail is on Security and data handling; a summary follows.

Where data lives.

  • Test definitions, runs, failures, concessions, reports and settings are stored in Forge SQL, one database per installation, covered by Atlassian's data residency.
  • Evidence files (screenshots, logs, videos) are saved as Jira attachments on the story, under your site's own permissions and retention.
  • The app makes no calls outside Atlassian and is eligible for Atlassian's Runs on Atlassian programme.

Personal data. SC Quality stores Jira account IDs and display names only. Email addresses are never stored. A weekly job reports these IDs to Atlassian's personal data API; accounts that have been closed are anonymised to "Former user".

Access control. Every read and write is checked on the server, not just hidden in the screen. Items in projects you cannot see return "not found", so their existence is not revealed. Reports with hidden items are labelled partial and cannot be saved or signed off.

Integrity. SC Quality never edits or deletes saved report revisions, recorded run outcomes, policy versions or release decisions: corrections are new records. Revisions and decisions carry a SHA-256 seal, so a change made outside SC Quality is detected and shown as a failed seal check. This is tamper-evident, not tamper-proof. Every significant action is written to an audit log.

Retention. A daily job trims detailed step results after the retention period shown in Administration, Retention. Outcomes, latest runs, failure records, evidence records and saved revisions are always kept. Uninstalling follows Atlassian's data lifecycle for Forge storage.

Usage limits

SC Quality applies volume limits per site, for example automation results and manual runs per month, evidence size per file, result uploads per hour, and report calculations per minute. Every installation has the complete product; limits only control volume.

  • When a limit is reached, SC Quality refuses the new request with a plain message and keeps everything already stored. Nothing is deleted to make room. CI clients keep refused batches and retry later.
  • Administrators see usage against the limits in Administration, Usage and limits, can pause automation uploads at any time, and can tighten (but not raise) any limit.
  • If a site's licence lapses, SC Quality stays readable but stops accepting new changes until it is renewed. Nothing is deleted.

Accessibility

Every main screen is checked automatically with axe against WCAG 2.0, 2.1 and 2.2 level A and AA rules, in light and dark themes, with keyboard and reduced-motion checks. Automated checks find only part of what matters. A screen-reader review and checks of the OLED theme, compact density and phone widths are still to do. See the accessibility statement.

Troubleshooting

SymptomLikely cause and fix
"SC Quality is setting up storage for this site"First use after install or upgrade. Wait about a minute; the page retries on its own
Panel missing on an issueAdd it once from the issue's apps menu; Jira then keeps it
A user sees no projects or a read-only viewTheir Jira permissions: they need Browse projects to see a project and Create or Edit issues to test
Administration is not shownOnly people who are admins of every project they can see (Jira site admins) get it
CI upload returns 401Missing, mistyped or revoked token. Check the SCQ_TOKEN secret, or create a new token
CI upload returns 403The token belongs to a different project or repository than the batch. Check projectKey and repo in sc-quality.json
Publish to Confluence is refusedSC Quality is not installed in Confluence on this site, or you cannot add pages in that space
Record fix is refusedThe Jira bug is not done yet. Fixes are recorded only once Jira shows the bug as done
A JQL report says more than 200 issues matchedA report includes at most 200 issues. Narrow the query, or use an epic, sprint or release scope
CI upload returns 429 or 503Upload limit reached, or uploads paused by an admin. Results stay in the spool; npx scq publish sends them later
An automated test's steps did not changeThe run was not on the trusted branch, or the step list was incomplete (for example the test was skipped)
A fixed defect still shows retest pendingThe test must pass on the fix build or a later one; record the fix build on the defect
A report says UnknownPart of the scope is hidden from you, or there is nothing to judge yet
Import refused a fileCheck the size (300 KB in Jira), the format (.xlsx, .docx, .csv) and the errors listed by row in the preview

Last updated 5 December 2026