Skip to content
Mucking around with post-commit hooks in Git, in part to integrate with JIRA
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.gitmodules
Gemfile
README
Rakefile
config.ru
file

README

Use Github's post-receive hooks to comment on or resolve JIRA issues.

To use:
- copy config/jira-TEMPLATE.yml to config/jira.yml and put your JIRA credentials in this file.
- deploy to a server that accepts incoming POSTs from github
- on your github repository, go to Admin > Service Hooks > Post-Receive URLs, and put your url in.
- commit to your repository

Triggers:

In your comment include "(resolve[sd]?|fixe?[sd]?) PROJECT-241" to resolve PROJECT-241.
For any issue key (i.e. PROJECT-241) in your commit message, the message will be attached to the bug as a comment.

You can’t perform that action at this time.