Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Github Source

This source handles webhook calls from Github to run Task Trees whenever commits are pushed to a repository.

Creating a Source

First download the consumer file and place it into the WEB-INF/consumers directory of your Task application and then restart the web server.

To use the consumer, navigate to the Sources page (underneath the Admin tab) and click Add New Source. When creating a source, the type field essentially tells Kinetic Task which consumer file to use for that source.


Now that we have created a Github source we will be able to develop trees that refer to Github-specifc information like commit and repository data.

Configuring a Webhook

To have Github run our Task Trees we need to use webhooks. Webhooks can call the Task API whenever certain events occur and they will pass information about those event to Task as well.

Start by navigating to the repository home page and clicking the Settings link.


Click the Webhooks & Services link.


Click the Add webhook button.


The only thing we need to configure for this example is the Payload URL. We need to set this field to the API route of the Task Tree we wish to run. The API routes use the following format.

Given the source "Github", the source group "Test", and the tree name "Push" we would use the following API route.


Finally, complete configuration by clicking the Add webhook button.

Source Data


When the Github webhook calls the Task API it passes along a JSON string of data. In Task this is referred to as Source Data. The consumer then parses the source data and provides the menu of pre-defined values available within the Tree Builder. An example of the pre-defined values menu is shown on the right.

In the Pre-defined Values section below we describe each of the pre-defined values made available by the Github source.

The Example Source Data section gives an example of real source data that was posted to Kinetic Task from Github.

Pre-defined Values

Head Commit

Id Id of the commit
Message Message associated with the commit
Timestamp Timestamp of the commit
Url URL to the commit page on Github
Added Comma-separated list of files that were added in the commit
Removed Comma-separated list of files that were removed in the commit
Modified Comma-separated list of files that were modified in the commit
Committer Name Full name of the committer
Committer Email Email address of the committer
Committer Username Username of the committer


Id Id of the repository
Name Name of the repository
Url URL to the repository on Github
Description Description of the repository
Owner Username Owner username of the repository
Owner Email Email address of the repository owner
Private Boolean that indicates whether or not the repository is private
Open Issues Count of the open issues

Example Source Data

            "name":"Shayne Koestler",
            "name":"Shayne Koestler",
         "name":"Shayne Koestler",
         "name":"Shayne Koestler",