Skip to main content
Skip table of contents

JWT authentication method (Deprecated)

This authentication method is deprecated and no longer recommended.

The JWT token is only valid for 15 minutes and only suitable for limited tasks. Use the new API Token-based authentication method instead.

JWT Token

You will need a JWT token to make a request. The JWT token is valid for ~15m.

  1. Get an Atlassian API token from https://id.atlassian.com/manage-profile/security/api-tokens for your user.

  2. Make a GET request with Basic Authorization to the specified URL with the following credentials in the authorization request header:
    username = Your email adress / username
    password = The Atlassian API token

    CODE
    https://<your_instance>.atlassian.net/plugins/servlet/ac/org.everit.jira.timetracker.plugin/timetracker-page?classifier=json
  3. Get the contextJwt property from the response.

  4. When calling the Timetracker Public API you need to pass this token in the x-everit-jwt header in the following format: "x-everit-jwt": "JWT <contextJwt>"

JavaScript errors detected

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

If this problem persists, please contact our support.