Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>JIRA Git Commit HelperNew to Visual Studio Code? Get it now.
JIRA Git Commit Helper

JIRA Git Commit Helper

Samuel Lawrentz

|
185 installs
| (0) | Free
This helps to create commit messages based on JIRA tickets assigned to you
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JIRA Git Commit Message Extension for VS Code

This VS Code extension automatically inserts the details of currently assigned JIRA tickets into Git commit messages, helping to ensure that necessary information is included and reducing errors.

Features

  • Automatically inserts JIRA ticket details into Git commit messages
  • Retrieves the details of the currently assigned JIRA ticket using the JIRA REST API
  • Caches API responses for improved performance and reduced API usage
  • Clears cache on window close to avoid stale data

Installation

Install the extension from the VS Code marketplace by searching for "JIRA Commit Message" or by following this link.

Configuration

The extension can be configured through the following settings:

The extension will get the configuration when its first activated. If you change the configuration, you need to reload the window to make it work.

  • jiraCommitMessage.baseURL: The URL of your JIRA instance, e.g. https://mycompany.atlassian.net.
  • jiraCommitMessage.username: The email/username to use for the JIRA API.
  • jiraCommitMessage.token: The API token to use for the JIRA API. You can generate one in your JIRA profile settings. (See here for more information.)

Usage

When creating a new Git commit, the extension will automatically retrieve the details of the currently assigned JIRA ticket and insert them into the commit message template. The commit message will then be pre-filled with the JIRA ticket information, which can be edited as necessary.

To activate the extension, open the command palette (Ctrl+Shift+P) and select "JIRA Commit Message: Create Commit Message".

  • You can select a JIRA ticket from the list of tickets assigned to you or enter a ticket ID manually.
  • Select the type of commit you are making from the list of available commit types.
  • Enter a commit message and press Enter to create the commit.

Contributing

If you wish to contribute to this extension, please follow the steps below:

  1. Fork the repository
  2. Clone your fork to your local machine
  3. Create a new branch for your changes
  4. Make your changes and commit them
  5. Push your branch to your fork
  6. Open a pull request

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2023 Microsoft