All Projects → milin → giticket

milin / giticket

Licence: MIT license
Utility to autoadd ticket number specified in your branch name to your commits!

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to giticket

tickets
Basic ticket tracker build on Laravel PHP framework
Stars: ✭ 18 (-64.71%)
Mutual labels:  jira, agile, tickets
xeo
A modern tool to bring SCRUM to Notion!
Stars: ✭ 26 (-49.02%)
Mutual labels:  jira, agile
jira.js
A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Stars: ✭ 156 (+205.88%)
Mutual labels:  jira, agile
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (+1298.04%)
Mutual labels:  jira, agile
JirAgileR
User-friendly 🔹JIRA API wrapper. Track projects & issues from within R
Stars: ✭ 22 (-56.86%)
Mutual labels:  jira, agile
Git Quick Stats
▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
Stars: ✭ 5,139 (+9976.47%)
Mutual labels:  commits, agile
jira-select
JIra-select is a command-line tool and library that lets you run SQL-like queries against your Jira instance that are far beyond what Jira's built-in query language can provide.
Stars: ✭ 18 (-64.71%)
Mutual labels:  jira
estimator-elixir
Elixir side-project: Collaboratively estimate Jira stories (for remote teams)
Stars: ✭ 44 (-13.73%)
Mutual labels:  jira
agile
🌌 Global State and Logic Library for JavaScript/Typescript applications
Stars: ✭ 90 (+76.47%)
Mutual labels:  agile
alfred-jira-search
Alfred Workflow to quickly search through Jira issues 🔎
Stars: ✭ 23 (-54.9%)
Mutual labels:  jira
tempomat
CLI for Tempo Jira Timesheets Plugin
Stars: ✭ 45 (-11.76%)
Mutual labels:  jira
octopus-agile-pi-prices
Display the upcoming prices on the Octopus Energy "Agile" tariff.
Stars: ✭ 35 (-31.37%)
Mutual labels:  agile
lazylead
Eliminate the annoying work within ticketing systems (Jira, GitHub, Trello). Allows automating (without admin access) daily actions like tickets fields verification, email notifications by JQL/GQL, meeting requests to your (or teammates) calendar.
Stars: ✭ 42 (-17.65%)
Mutual labels:  jira
scrumlr.io
Webapp for collaborative online retrospectives
Stars: ✭ 116 (+127.45%)
Mutual labels:  agile
user-stories-applied
敏捷的用户故事方法
Stars: ✭ 33 (-35.29%)
Mutual labels:  agile
actionview-fe
ActionView front-end source code, based on Reactjs+Redux.
Stars: ✭ 63 (+23.53%)
Mutual labels:  jira
fastlane-plugin-jira release notes
Fastlane Plugin for Jira Release Notes
Stars: ✭ 14 (-72.55%)
Mutual labels:  jira
maturity-models
Maturity models for IT, Agile, DevOps, TOGAF, Six Sigma, P3M3, etc.
Stars: ✭ 157 (+207.84%)
Mutual labels:  agile
pi-eco-indicator
Display at-a-glance data of carbon intensity or Octopus Agile prices on a Pimoroni Blinkt! display or a Pimoroni Inky pHAT display.
Stars: ✭ 15 (-70.59%)
Mutual labels:  agile
login
Add-on implementing User Login, Registration, Management and Password
Stars: ✭ 24 (-52.94%)
Mutual labels:  agile

giticket

https://api.star-history.com/svg?repos=milin/giticket&type=Date)](https://star-history.com/#milin/giticket&Date

https://travis-ci.com/milin/giticket.svg?branch=master Documentation Status

Auto add ticket info to your git commits.

Features

This hook saves developers time by prepending ticket numbers to commit-msgs. For this to work the following two conditions must be met:

  • The ticket format regex specified must match, if the regex is passed in.
  • Unless you use regex_match mode, the branch name format must be <ticket number>_<rest of the branch name>

For e.g. if you name your branch JIRA-1234_awesome_feature and commit Fix some bug, the commit will be updated to JIRA-1234 Fix some bug.

Pass --regex= or update args: [--regex=<custom regex>] in your .yaml file if you have custom ticket regex. By default it's [A-Z]+-\d+.

Pass --format= or update args: [--format=<custom template string>] in your .yaml file if you have custom message replacement. By default it's '{ticket} {commit_msg}, where ticket is replaced with the found ticket number and commit_msg is replaced with the original commit message.

Pass --mode= or update args: [--mode=regex_match] in your .yaml file to extract ticket by the regex rather than relying on branch name convention. With this mode you can also make use of {tickets} placeholder in format argument value to put multiple comma-separated tickets in the commit message in case your branch contains more than one ticket.

It is best used along with pre-commit. You can use it along with pre-commit by adding the following hook in your .pre-commit-config.yaml file.

repos:
- repo:  https://github.com/milin/giticket
  rev: v1.3
  hooks:
  - id:  giticket
    args: ['--regex=PROJ-[0-9]', '--format={ticket} {commit_msg}']  # Optional

You need to have precommit setup to use this hook.

Install Pre-commit and the commit-msg hook-type.

pip install pre-commit
pre-commit install
pre-commit install --hook-type commit-msg
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].