Skip to main content
Skip table of contents

How to encode a Token to Base 64?

When performing certain actions in Jira, such as sending Web Requests via Automation, you may need to use a Base 64 encoded token. This token is generated using your email address and the API Token from your user account.

Steps to follow:

  • Access the following page and generate an API Token: https://id.atlassian.com/manage-profile/security/api-tokens

  • Combine your email and the generated API token in the following format:

    CODE
    your-email@example.com:api_token
  • Open your browser (Chrome, Firefox, Edge, etc.)

  • Press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open the DevTools.

  • Go to the "Console" tab.

  • Paste and run this code:

    CODE
    btoa("your-email@example.com:api_token")
  • The result will be your Base64-encoded token:

    chrome_h5BE2Tk4TC.gif

If you are using Chrome, you might face an issue when pasting your API token into the console due to paste protection being enabled. You can disable this protection by typing allow pasting in the console.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.