Skip to main content

Commit to Jira Hook

Project description

Commit2Jira

Commit2Jira is a simple Git hook that automatically adds your commit messages as comments on Jira tickets. Just include the ticket ID (e.g. ABC-123) in your commit message, and it will post the message directly to the corresponding Jira ticket.

Installation

pip install commit2jira && commit2jira install

This installs the Git post-commit hook into your current repository.

How to Use

Just commit as usual, including the Jira ticket key in your message:

git commit -m "ABC-123 Fix login redirect bug"

This will automatically add your commit message as a comment on the ABC-123 issue in Jira.

Notes

  • Make sure your .env file is configured with your Jira credentials and base URL.
  • Only commits containing a Jira ticket ID like PROJ-456 will trigger the hook.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commit2jira-0.1.7.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commit2jira-0.1.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file commit2jira-0.1.7.tar.gz.

File metadata

  • Download URL: commit2jira-0.1.7.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for commit2jira-0.1.7.tar.gz
Algorithm Hash digest
SHA256 3ad9344e87f879255a7a2756b2889f10ae2704de831f3ddee89094311aa787d1
MD5 1cebd76626a8552d48e9bbc7b72ce635
BLAKE2b-256 e2fdd503d2a5f9a554f6a5f1a660e82e007db6e8965388dd6ff4874419c97dcd

See more details on using hashes here.

File details

Details for the file commit2jira-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: commit2jira-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for commit2jira-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 76ebeed4b35ecabaeb9b1df777c29409fda06898b6e3476c4aa555960ddbe725
MD5 db5e33ce1d5d8cd366fb124c51e4b59d
BLAKE2b-256 6e9667a97793fdbaaca03e189d71bfc9a3ab01635efda1c594d18a4fd6c2faf0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page