JiraLensWelcome to JiraLens, an open-source project fueled by community collaboration. Here are our contribution guidelines. Encountering challenges or envisioning new features? Share your experiences and thoughts with us through GitHub issues. Your feedback is invaluable in shaping the future of JiraLens! List of ContentsIntroductionOverviewJiraLens is a Visual Studio Code (VS Code) extension tailored for developers seeking deeper insights into their codebase (Extension Marketplace link). It serves as a bridge between your code and the comprehensive information available on Jira pages. Why JiraLens?While extensions like GitLens offer valuable insights already, they often fall short of the wealth of information found on Jira. JiraLens seamlessly integrates with Jira pages, providing quick access to crucial details, such as the broader objective, the fix version of the change, and more. FeaturesStatus Bar ItemSeamlessly open Jira issues in a dedicated VS Code tab or your preferred external browser.
Inline MessageReceive quick information about the committer, relative commit time, Jira issue key, and commit message.
The content of the inline message can be easily configured.
Hover ModalGain instant, essential information about the Jira issue while hovering over the inline message.
Activity Bar ItemExperience automatic updates and display of Jira issue content for the active line, ensuring a seamless workflow.
Issue TabEffortlessly review multiple Jira issues side by side for comprehensive project management.
Comprehensive CommandsEasily tailor the extension settings to suit your preferences with a simple and intuitive configuration approach.
Extension SetupTo ensure proper functionality, JiraLens requires the Jira host, authentication credentials, and project keys to be configured. Additionally, ensure Jira issue keys are included in commit messages, as they are extracted from there. You can customize the extension settings either using the VS Code settings editor or by utilizing the commands mentioned above.
Jira HostIf your Jira address begins with AuthenticationJiraLens supports both Jira Cloud and Jira Server / Data Center. The authentication method differs between them. Jira CloudJira Cloud uses email + API token authentication.
Jira Server / Data CenterJira Server and Data Center use a Personal Access Token (PAT).
Project KeysRefer to this documentation for the definition of Jira issue key and Jira project key. If an issue's key is Data CachingJiraLens caches data locally in memory to keep the inline message, hover modal, and sidebar responsive as you navigate your code. Jira Issue DataFetched Jira issue details are kept in memory and reused for subsequent views of the same issue. By default, a cached issue is considered fresh for 5 minutes before being re-fetched. You can adjust this in VS Code settings via
The cache is automatically cleared whenever you change your Jira host or authentication credentials, so you will always see data from the correct server with the correct account. Git Blame and Markdown ConversionGit blame results and Jira markup conversions are also cached automatically. These caches have no user-facing setting because they manage themselves safely:
If you notice any sluggishness or unexpected memory usage, please open a GitHub issue and describe your experience — it helps us tune the caches further. Known Issues
|