Security & Data Residency — Clearline Recycle Bin for Jira
Architecture at a glance
| Platform | Atlassian Forge (serverless functions + Forge KVS hosted storage) |
| External servers | None — no Forge Remote, no web triggers, no egress permissions |
| AI / LLM | None |
| UI | Forge UI Kit (rendered natively by Atlassian, no third-party scripts, fonts or images) |
| Atlassian scopes | read:jira-work, write:jira-work, read:jira-user, storage:app |
| Badge | Eligible for Runs on Atlassian |
Why each scope is needed
read:jira-work— receive work item created/updated/deleted/comment events and read the work item to keep a recoverable snapshot; check that link targets and parents still exist.write:jira-work: recreate a work item on restore, add the restore note and archived comments, re-log archived work logs, and re-create issue links.read:jira-user: resolve display names of the person who deleted or restored an item, and check the signed-in user's permissions and group membership (for Recycle Bin manager groups).storage:app— store recycle-bin records, settings and audit entries in Forge hosted storage.
Data residency
All data lives in Forge hosted storage, which Atlassian operates on the same cloud infrastructure as Jira. Forge storage inherits Atlassian's data-residency capabilities, so where your organisation pins Jira data to a region, Forge-hosted app data follows Atlassian's Forge data residency rules. Clearline Labs has no copy anywhere else.
Access control
- The global Recycle Bin is available only to Jira administrators and to members of Jira groups that a Jira administrator explicitly designates as Recycle Bin managers. Managers can view, restore, purge and export, but cannot change settings. The project Recycle Bin is available only to administrators of that project and shows only that project's items.
- Every backend request re-checks the signed-in user's permission with Atlassian (
asUserpermission check) — the UI cannot be bypassed. - Product events are retried by the Forge platform (up to 4 times, with backoff) if capture fails, and capture is idempotent, so duplicates never overwrite a full record.
- Restricted comments and work logs (visible only to a group or role) are never stored, so a restore can never widen their audience.
- Exports and every restore/purge are recorded in an audit log with the acting user.
Encryption, backup, isolation
Data is encrypted in transit and at rest per Atlassian cloud policy, backed up by Atlassian, and namespaced per installation: no other app, site or environment can read it.
Data lifecycle
Retention 30–365 days (admin configurable) with a daily purge; manual permanent purge; live snapshots expire after 365 days without change; audit entries after 365 days.
Secure development
Typed TypeScript codebase, unit-tested capture/restore/retention/CSV paths, CSV formula-injection protection, Forge lint + manifest validation in CI, least-privilege scopes, no secrets stored.
Reporting a vulnerability
Email clearlinelabs.hq@gmail.com with "SECURITY" in the subject. We acknowledge within 2 business days. We participate in Atlassian's Marketplace Security programme requirements (incl. the Marketplace bug bounty when enrolled).