Skip to content

Dlouxgit/vscode-jira-plugin

Repository files navigation

jira-issue README

A simple extension for Jira issues within vscode.

This vscode extension is a slim version that only includes the most commonly used features. The more functions it has, the more complicated its usage will be, and I don't want to add unnecessary complexity.

Jira Issues in Action

English | 简体中文

Features

Click on jira-issue in the sidebar, you can see the description and status of jira.

The flag at the beginning of the line indicates that the Assignee of this issue is you

These emoji represent the status of Jira issue:

Open: 🆕
In Progress: 🕐
Resolved: 👍
Done: ✅
Closed: 🚪
Reopened: 🔙
Todo: 📝
Verity: ✔️
Bug: 🐛
待办: "🆕",
处理中: "🕐",
已解决: "👍",
完成: "✅",
已关闭: "🚪",
重新打开: "🔙",
待验证: "✔️",
"需求池": "💼",
修复中: '🛠️',
待确认: '🕵️'

Right click on the tree item and a menu will appear:

  • Change Issue Status
  • Open Issue
  • Commit By Issue
  • Copy Issue Number
  • Copy Issue Title
  • Assign To Me

Hover over any jira issue and you can see four icons at the end of the row, click on them will trigger Assign To Me, Commit By Issue, Copy Issue Number, Copy Issue Title.

The icons in the upper right corner of the main sidebar are refresh and filter.

Set up

  1. Open the command palette (Ctrl+Shift+P on Windows and Linux, Cmd+Shift+P on OS X) and search for jira.
  2. set your Jira base url, bearer (or username and password)
  3. Click jira-issue in the sidebar

Tips

Here are some keybinds you can use:

  • Use Cmd+Shift+[ to set the bearer token
  • Use Cmd+Shift+] to set the base url
  • Use Cmd+Shift+- to set the username
  • Use Cmd+Shift+\ to set the password

Extra

You can create a jiraIssue.config.json file in your workspace and enter the project as the default filter content. Of course, if you set the same property like base url in the global configuration of vscode at the same time, it will override the global configuration in vscode.

This is an example:

{
  "project": ["projectName"],
  "baseUrl": "xxx"
}

Open Settings and enter jira-issue.replaceMethods, modify its value to replace your git commit message, it is a regular expression

Changelog

Learn about the latest improvements.

Contributing

Checkout the source code in the GitHub Repository.

License

MIT

Enjoy!