GitHub WebHook

Projects with a github webhook can link commit activity to a Jabwire ticket. Commits with a bug, feature, or sprint task ID will be added as a comment in the discussion section of the ticket. The format is [OBJECT-ID]. For example:

Ticket types are case insensitive.

To configure the callback, click on 'Settings' in the project, then click on 'Webhooks & Services'. Click on 'Add webhook' with the following:

  1. Payload URL:
  2. `Content type` to `application/x-www-form-urlencoded`
  3. Secret - leave blank

Project Assignments in Commits

It's a good idea to reference bugs or sprint tasks in your commit messages. This allows Jabwire to link to the commit in the discussion section. But this requires an extra step to look up the IDs when your doing a commit. We can easily show your open bugs and sprint tasks by create a git hook.

Add the following script to the file '.git/hooks/prepare-commit-msg' in your git repository. Make sure the file is executable and replace the ':id' with your project ID and set the API key.


	if [ $# -ne 1 ]; then
	  exit 0

	curl -s "" >> $1

Once this is in place, when you commit, Jabwire will append your open bugs and sprint tasks so you can reference them in the commit message.

	# Please enter the commit message for your changes. Lines starting
	# with '#' will be ignored, and an empty message aborts the commit.
	# On branch master
	# Changes to be committed:
	#   (use "git reset HEAD ..." to unstage)
	# modified:   README

	# Darian Shimy Assignments in Jabwire
	# ----
	# [BUG-23] Fix spelling error in login form
	# [BUG-24] IE9 - Drag and Drop misses target
	# [SPRINT_TASK-18] Add sort column to bug report

More information on git hooks can be found here: