Clearline Seat Sweeper for Jira — setup walkthrough
About 5 minutes. You need to be a Jira administrator and an organization admin in Atlassian Administration (to create the API key). There is no Clearline account or sign-up.
Step 1 — Install and open the app
Install Clearline Seat Sweeper from the Atlassian Marketplace, then open Jira settings → Apps → Clearline Seat Sweeper. The setup wizard starts automatically.
Step 2 — Create an Org API key
- Go to admin.atlassian.com → Settings → API keys and create an API key.
- Copy the API key itself — not the Organization ID — and note the key's expiry date.
Step 3 — Connect and test
- Paste the key and the expiry date into the wizard and press Connect & test.
- The test lists your organizations and directories and runs a one-user search. It never writes anything, and the key is saved (to Forge encrypted secret storage) only if the test passes.
- If the test fails, the message says what is wrong:
| Result | Meaning | Fix |
|---|---|---|
| 401 — key rejected | Expired, revoked or mistyped | Create a new key and paste the API key, not the Org ID |
| 403 — not allowed | Key lacks directory permissions | Create the key as an org admin; if it uses scopes include user/group directory read and write, or create a key without scopes |
| 404 — org not found | Key belongs to another organization | Choose the right org or use that org's key |
| 429 — rate limited | Atlassian is throttling | Wait a minute and retry |
- If the key can see several organizations, choose the one that owns this site.
Step 4 — Run the dry-run scan
Press Run dry-run scan. Nothing changes. The scan runs in the background and works through thousands of users in pages, so the browser never hangs. When it finishes, the Overview shows the number of inactive users and the estimated monthly $ saved.
Step 5 — Review who would be affected
Open Dry-run preview. For every inactive user you see the last-active date per product (Jira, Confluence, JSM) on this site, the seats they hold and what they cost. Filter and sort, and check the "Protected" entries.
Never touched, always: organization/site admins, the admin groups (site-admins, org-admins, administrators, jira-admins*, confluence-admins*), you, all operators, apps/bots and JSM portal customers. Add your own VIP groups and protected users in Settings. Brand-new accounts get a grace period, and anyone re-granted through Undo is immune for a cool-down (default 30 days).
Step 6 — Check Settings before you sweep
In Settings:
- Inactivity threshold (30/60/90/180 days) and which products count as "tracked".
- Action: Suspend access (recommended: reversible, stops the seat being billed, keeps history, groups and roles; applies organization-wide) or Remove from licence groups (only the groups you choose; site-specific).
- Seat prices — defaults approximate Atlassian Standard list prices; edit them to match your invoice so the savings figure is accurate.
- Per-run safety cap (default 25 users per run).
- Operators — only the admins you name can change settings, run cleanups or undo; other Jira admins are read-only.
Step 7 — Sweep
- In Dry-run preview, tick users (or Select all sweepable across all pages).
- Press Apply, review the action, the count and the $ saving, and type
SWEEP. - The run happens in the background. Each user is re-checked against live data just before the change, so anyone active since the scan is skipped.
Step 8 — Undo if needed
Open Undo / re-grant, tick entries and press Undo. Suspended users are restored; removed groups are re-added exactly. Everything is in the Audit log, and CSV exports are available for preview, undo log and audit log.
Step 9 — Schedule (optional)
Settings → Schedule: Off, Report only (a scheduled dry run summarised in the audit log, no changes) or Active, daily or weekly at a UTC hour you choose (pick outside business hours). Active runs use the same protections and safety cap and pause automatically if the licence is inactive or the key fails its daily health check or has expired.
Step 10 — Key expiry reminders
Banners appear 30, 14 and 7 days before the expiry date you entered, and immediately if the daily health check gets a 401. Use Settings → Rotate key to replace it; the new key is verified before it replaces the old one.
Data and removal
Your data stays in Atlassian's Forge storage for your site. The only outbound call is to Atlassian's own Organizations API (api.atlassian.com) using your Org API key. To remove everything (including the stored key), use Settings → Danger zone → Purge all app data (type DELETE), revoke the key in admin.atlassian.com, then uninstall.
Need help? Email clearlinelabs.hq@gmail.com or see Documentation & Support.