Summary
Support expiry-based API token notification workflows in Automation for Atlassian Administration.
Requirement
As an organization admin, I want Automation for Atlassian Administration to access API token expiry information so that I can build rules that identify tokens expiring within a configurable time window and send customized reminder notifications to the token owners before expiry.
In Atlassian Administration, expose API token expiry metadata to automation, for example:
- New trigger/event type such as “API token expiry approaching”, or
- New conditions/smart values that allow querying tokens where expiryDate <= now() + X days.
Allow automation rules to use that expiry information to:
- Find all tokens expiring in N days (configurable), and
- Send customized email notifications (or other supported actions) to the token creator/owner, optionally at multiple intervals (e.g. 30, 7, 1 days before expiry).
Expectation
Org admins can configure expiry‑based notification rules in Automation for Atlassian Administration, similar to how they configure revocation of inactive tokens and keys.
- Admins can:
- Use conditions like “API token expiry in next N days” or “expiryDate before/after X”.
- Use smart values (for example {}{{token.owner{}}}, {}{{token.expiryDate{}}}) to personalize email notifications.
- Send multiple reminders (e.g. 30/7/1 days) with custom templates and recipients (token owner, admin group, etc.).
- This enables admins to reduce disruption from token expiry by proactively notifying users in a way that fits their internal processes, beyond the built‑in, system‑controlled expiry emails.
Current feature
Automation for Atlassian Administration can:
- Revoke API tokens and API keys that are inactive for a period of time, using actions documented here: https://support.atlassian.com/organization-administration/docs/available-automation-components-for-atlassian-administration/
- Manage authentication policies and user assignments (for example, “Assign user to authentication policy”).
Automation for Atlassian Administration cannot currently:
- Access API token expiry dates or query “tokens expiring in N days” via triggers, conditions, or smart values.
- Build rules that say “find all tokens expiring in 30 days and send a custom email to each token’s creator.”
- Configure or modify the built‑in expiry reminder emails that are sent by Atlassian’s backend services (API token expiry behavior documented here: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/