Docs / Security
Security and data flow
For IT and security reviewers. Suitetrail runs entirely on Atlassian Forge. We operate no servers, databases or AI endpoints of our own, and the app declares no permission to call anything outside Atlassian.
Architecture
Your side
BrowserJira page with the Suitetrail issue panel, project page and admin page
CI pipeline
suitetrail-report CLI with a project tokenHTTPS · inbound only
Atlassian Forge (your Jira site's installation)
Custom UIStatic files served by Atlassian, calls the backend through
@forge/bridgeStatic web triggerReceives CI uploads; replies with fixed responses only
Forge functionsNode.js 22 resolvers, triggers and a queue consumer
Forge SQLAll app data, per installation
Forge LLMsClaude models hosted by Atlassian
Jira REST APIRead stories, create bugs, check the user's permissions
Outbound to hosts outside Atlassian: none declared in the manifest, so Forge blocks it.
No component in this diagram is run by us. There is no Forge Remote, Connect backend, analytics or telemetry service.
| Component | Runs on | What it does |
|---|---|---|
| Custom UI | Forge, served by Atlassian inside Jira | Issue panel, project page (cases, plans, cycles, runner, traceability, import, CSV/JSON export) and admin page. Export files are put together in your browser from paged resolver responses. |
| Resolvers | Forge compute (nodejs22.x) | Read and write test data. Every call checks the calling user's Jira permissions first (below). Resolvers never call the AI directly; they queue a job. |
| Database | Forge SQL | Test cases, story links, plans, cycles, runs, CI import records, failure groups, drift flags, AI jobs and usage counters, project settings, audit log. |
| Queue | Forge async events | Carries only an AI job ID. The job's input is read from Forge SQL by the consumer. |
| AI | Forge LLMs (@forge/llm) | Draft tests from a story, propose step updates for a changed story, label a new failure group. |
| CI endpoint | Forge web trigger, response.type: static | Accepts Playwright JSON or JUnit XML chunks with a per-project token. Replies are fixed: 202, 400, 401, 413 or 500. |
| Jira access | requestJira (Jira's own API) | Read story fields for drift checks, run JQL for fix-version filters and the stories-without-tests view (as the user), list fields for the admin's acceptance-criteria picker (as the admin), create bugs, and check the user's permissions. |
Network egress
- No external hosts. The Forge manifest has no
permissions.externalblock and noremotes. Forge blocks outbound calls the manifest doesn't declare. An automated test in our build fails if either is ever added. - Requested Jira scopes:
read:jira-work,write:jira-workandstorage:app. All are declared in the first version, so admins are not asked to approve new scopes later. - The CI endpoint only receives. It uses a static response, so it cannot return data from your site to the caller.
- Runs on Atlassian. The app is built to meet Atlassian's “Runs on Atlassian” requirements. Atlassian awards that badge after its own checks. We will only show it once Atlassian has confirmed it (not yet verified on a live site).
Data the app stores
All of it is stored in Forge SQL for your site's installation. None of it is copied to us.
| Data | Source | Notes |
|---|---|---|
| Test cases | Your users, CSV imports, accepted AI drafts | Titles, preconditions, steps, expected results, labels, folders, automation keys. |
| Story links | Jira | Issue ID and key, a hash of the story's summary, description and acceptance criteria (only if a Jira admin picked that field), and a normalised text copy of those fields. The copy is used to show what changed when a story drifts. When a Jira issue is deleted, its links and drift flags are removed. |
| Runs and results | Test runner, CI uploads | Status, step results, duration, error signature and error message. CI error text can contain file paths or stack traces from your code. CI cycles older than the project's retention period (30, 90, 180 or 365 days, set by a Jira admin; 90 by default) are rolled up into totals, keeping the newest 20 CI cycles in full. |
| Drift flags | Story changes | When the flag opened, old and new hashes, the changed story text, and who resolved it. Dismissed and auto-closed flags are removed after the retention period; accepted ones are kept. |
| AI jobs and usage | The app | Job status, the AI result (drafts or a proposal) for you to review, token counts and cost. Prompts are not stored. Finished jobs are removed after the retention period. |
| Audit log | The app | Who deleted a test case or plan, changed the app settings, replaced a CI token or exported a project's test cases, and when. Account ID only. Shown on the admin page and not removed by retention. |
| People | Jira | Atlassian accountId only, for example who ran a test. No names, email addresses or avatars. Jira shows names itself. |
| CI tokens | Admin page | Shown once when created. Only a SHA-256 hash is stored. Tokens start with stci_ so secret scanners can spot a leaked one. |
Who can see and change what
Forge functions run with the app's own access, which covers every project the app is installed in. So Suitetrail checks the calling user's Jira permissions on every request, by asking Jira as that user (api.asUser(), GET /rest/api/3/mypermissions).
| Action | Jira permission needed |
|---|---|
| View test cases, plans, cycles, runs, traceability, AI results | BROWSE_PROJECTS on that project |
| Export the project's test cases as CSV or JSON (recorded in the audit log) | BROWSE_PROJECTS on that project |
| Create or edit cases, plans and cycles; record runs; import; link stories; resolve or dismiss drift; request AI | BROWSE_PROJECTS and EDIT_ISSUES on that project |
| Delete test cases and plans (recorded in the audit log) | Project admin (ADMINISTER_PROJECTS on that project) or Jira administrator (ADMINISTER) |
| Issue panel | Permission to browse that issue (Jira also applies issue security levels) |
| Create a bug from a failed run | The above, and the bug is created as you, so Jira applies your own create permission |
| Admin page: AI switch, usage, CI tokens, acceptance-criteria field, retention period, storage row counts, audit log | Jira administrator (ADMINISTER) |
- The record decides the project. When a request names a test case, plan, cycle, run, drift flag or AI job by ID, the project is read from that record in the database. A project ID sent by the browser is never trusted for this.
- No probing. A record in a project you can't see and a record that doesn't exist get the same
403 Forbiddenreply. - Imports respect access too. An import only links stories in projects the importing user can browse.
- Background work runs as the app. This covers drift checks when a story changes, link clean-up when a story is deleted, the AI queue, the daily clean-up, and CI uploads, which a project token authenticates.
- First use asks for consent. Permission checks run as you, so the first time you open the app Jira may ask you to allow it access. The app passes that request straight to Jira instead of showing an error (not yet verified on a live site).
- Permission answers are cached for at most 30 seconds within one request. These checks are covered by unit tests against a simulated Jira (not yet verified on a live site).
AI processing
- Models: Forge LLMs, which are Claude models hosted by Atlassian. How Atlassian and its model provider handle prompt data is set by Atlassian's Forge LLM terms. Please read them directly rather than relying on a summary.
- When it runs: drafting tests and proposing step updates run only when a user clicks. On paid plans, each new failure group can get one AI label, which is then cached. On the free plan, nothing runs automatically.
- What is sent: only what the action needs. Test drafting sends the story's summary, description and acceptance criteria (if an admin picked that field). A step update sends the story before and after, plus the test's steps. A failure label sends the normalised error and a few short samples.
- Off switch: a Jira admin can turn AI off for the whole site. Drift flags and failure grouping keep working, because neither needs AI.
- Human review: AI output is a proposal. Drafts are saved only after someone accepts them, and are labelled
ai-generated. - Cost guardrail: every AI call reserves part of a monthly allowance before it runs, and is settled against real token use afterwards.
CI uploads
- Each project has its own token. The reporter reads it from an environment variable, not a command-line flag, so it doesn't end up in shell history or CI logs.
- The reporter removes stdout, stderr and attachments such as screenshots, traces and videos before uploading. It also shortens error messages, then sends chunks of up to 1.5 MB (Forge's limit is 5 MB).
- Chunks are idempotent: a retried chunk doesn't create duplicate runs.
- The reporter is open source (MIT) and has no telemetry. It only sends to the upload URL you configure.
Known limits
- Pre-release. The app has not yet been deployed to a live Jira site. Platform behaviour above comes from Atlassian's documentation and from offline tests.
- Data residency follows Atlassian's Forge data residency support for Forge SQL. We have not checked which regions apply.
- Uninstalling: Forge manages app data deletion when the app is uninstalled. The timing follows Atlassian's platform rules (not yet verified on a live site).
- Export downloads are built in the browser and saved with a standard download link. Whether Jira's app frame allows the download in every browser is not yet verified on a live site.
- Stories without tests checks up to 1,000 issues of one type per search, and says so when there are more.
- No certifications of our own. We have no SOC 2 or ISO 27001 report. Hosting, compute and storage are Atlassian's, under Atlassian's certifications.
- No external penetration test has been done yet.
- Questions or a security report: support@suitetrail.com with “Security” in the subject.