Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you use JetBrains IntelliJ or VS Code, you must install the IDE extensions so Capacity Insights can understand where you spend your time.

...

Expand
titleJetBrains

When you save a file in JetBrains, commit, or checkout, the extension posts an event to the Tempo API that contains the current branch name, timestamp, and a commit message (if available).

Before You Begin

  • Install IntelliJ version 2020.3 or later.This plugin requires Tempo Timesheets on Jira Cloud.

Setting Up the Time Tracking Plugin

Install the Tempo Time Tracking plugin from the JetBrains Plugin Marketplace. Once you've installed the Tempo Time Tracking plugin, you must use an API token to authenticate Tempo in JetBrains.

  1. Select Apps in the Tempo sidebar.

  2. In the JetBrains Plugin tile, click Install. You are redirected to the JetBrains Plugin Marketplace to download the plugin.

  3. Click Get, select the plugin version, and then click Download.

  4. Follow the onscreen directions to install the Tempo Time Tracking plugin in JetBrains.

  5. After you've installed the Tempo plugin, restart your IDE.

    JetBrains install.jpgImage Removed
  6. A Tempo: token missing notification appears to remind you to set your Tempo API token.

    jetbrains needs a Tempo API token.jpgImage Removed
  7. In your Jira instance, navigate to Tempo > Settings > API Integration, and click New Token. This token can be either for full access or custom access.

    To create a custom access token, the token must have the Produce activities scope at a minimum. Click Confirm to create the token.

    Get API token for JetBrains.jpgImage Removed

     

  8. Copy the token and open JetBrains. Click Configure in the prompt and paste the token.

    JetBrains_add_token.jpgImage Removed

     

  9. Click Test to ensure the API token is set up correctly, and then restart JetBrainsWhen prompted in IntelliJ, authorize the plugin to access your Atlassian account.
    A new browser window opens so you can complete the authorization process.

    jetbrains-authorization.pngImage Added
    1. Select which Jira instance you’d like.

    2. When you click Accept, you can return to the IDEA. A notification displays that you are authorized to use Tempo.

Now when you open a workspace within a git repository, the Tempo extension gives you the option to either Track, Ignore or Postpone all activity within the git repository. Repositories that have been tracked send time record suggestions to My Work in Tempo.

If Postponed is selected, you receive a reminder the next time you open a project for this repository. You can then manually configure it in Preferences > Other Settings >Tempo.

...