API tokens are revoked automatically when used in public spaces

プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。

要約

When you create an API token from https://id.atlassian.com/manage-profile/security/api-tokens and use/mention it in a code repository, the API token is revoked after a short while from your profile.

環境

Jira Cloud

原因

The repository where the API token is mentioned is a public repository. Atlassian periodically scans public repositories to identify any tokens from Atlassian accounts and revokes them as a security measure. Tokens directly mentioned in public repositories can be accessed by external users and can be abused, thereby, causing harm to your site data and its performance.

ソリューション

  1. Check your email confirming that it was Atlassian that removed your token. You should see a similar email in your inbox

(自動移行された画像: 説明は一時的に利用できません)

2. Make your code repository is private or use the API token in a file that is not accessible publicly.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。