Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

For best results, add the issue key to the branch or the commit message.

 JetBrains

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).

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. When 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.png
    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.

 VS Code

When you save a file in VS Code or commit/checkout in git, the extension will post an event to the Tempo API containing the current branch name, timestamp, and a commit message (if there's a commit). A status indicator at the bottom bar in VSCode shows you how much time you have spent on various development tasks. 

Setting Up the Time Tracking Extension

  1. Make sure you have VS Code version 1.46 or higher. Download the extension from the marketplace or install from the Extensions View in VS Code.

  2. Reload VS Code after the installation.

  3. A notification appears asking you to authenticate the extension with Tempo. Click Authorize now.

  4. Click Open to go to the go to the Atlassian authorization page. Click the Authorize for drop-down menu to open the list of sites (instances) you can authenticate with VS Code.

  5. Select the site you want to authorize. Click Accept and then open VS Code to complete the authorization and you're all set to go. (If you have multiple active instances that can be matched with your token, you may be prompted to do this twice.)

  6. When you open a workspace within a git repository, the extension will give you the option to either Track or Ignore all activity within the git repository.

  • No labels