Let’s start by an example. Assuming that I am responsible of the task 18 in iceScrum named “Add car domain”, once the code is ready to submit I write my commit message:
New car domain class
Here is how I link this commit to Task 18:
T18 New car domain class
The T18 tags can be located anywhere in the commit message so this is equivalent to the previous commit message:
New car T18 domain class
Once the commit is sent, information for this commit will be displayed in Task 18 details in a dedicated tab:
For each commit, this information is displayed:
Author: if the commit author is recognized in iceScrum (username, full name, email) then the commit is associated with the corresponding iceScrum user.
Message: tasks tags are removed from the original message to make it more readable.
Date: the commit date.
Files: the files added, removed and modified in your commit.
You can reference as many tasks as needed in your commit message:
New business object: supplier T21 T22 T23
Commits are associated to a task only if its sprint is “In progress”.
Commits and stories
The Story details view also provides a “Commits” tab that aggregates all the commits of its tasks.
Update task remaining time
You can optionally update the task remaining time from your commit message.
In this example, I update the remaining time of task 21 to 1 hour and a half, task 22 to 3 hours and there is no work left on task 23 so I update its remaining time to 0:
New business object: supplier T21-1.5 T22-3 T23-0
The remaining time is updated accordingly and task 73 has no remaining time left so it has moved to “Done”:
Here are the update rules:
If the new remaining time is positive and the Task is not Done then the remaining time is updated accordingly.
If the new remaining time is not specified or positive and the task is “Todo” then the task is moved to “In Progress”.
If the new remaining time is 0 then the task is moved to “Done”.
Link one code repository to multiple iceScrum projects
Starting from iceScrum 7.27, it is possible to link commits from one repository to several iceScrum projects.
This documentation illustrates mainly the simple case where there is only one project and the project is provided once for all through the URL configured to communicate with iceScrum. Thus, for multiple projects the first step consists in leaving out this project part (i.e. /project/$project) from the URL in all the examples provided in this documentation.
If you use the provided Git or SVN scripts then you will have to edit the code manually in order to build an URL that leaves out this part. Otherwise, just adapt the URL you enter.
E.g. for Gitlab, instead of: /ws/project/MYPROJECTKEY/commit/gitlab
However, iceScrum still needs to know which project to attach a commit to. Thus, all task tags should be prefixed by the project key of the project they belong to:
New car MYPROJECTKEY-T18 domain class
First, enable the Git App on your project.
To connect your Git repository to the corresponding iceScrum project, you have to add a post-receive script in the YOUR-REPO/.git/hooks/ directory.
You can write your own script but we recommend using this one: post-receive. This script hooks into pushes received by a Git repository.
It requires Ruby and Rubygems (grit and json gems):
This example sets the configuration only for the current repository (settings are written in the .git/config file). If you want to apply them to all the current user’s repositories then use the global option (global settings are written in the ~/.gitconfig file).
First, enable the SVN App on your iceScrum project.
To connect your SVN repository to the corresponding iceScrum project, you have to add a post-commit script on your server, in the YOUR-REPO/hooks/ directory.
You can write your own script but we recommend using this one: post-commit.
You can optionally configure the SVN URL if you use a web-based tool:
svnviewer_url = "http://svnviewer/svn-history/"
First, enable the GitHub App on your iceScrum project.
Notice: the integrated GitHub service for iceScrum is only compatible with iceScrum R6. For integration between GitHub and iceScrum v7, simply add a webhook to your GitHub repository as described below.
Add a webhook to your GitHub repository. In the “Settings” tab of your GitHub repository, under the “Webhooks” section, click on “Add webhook”.
The iceScrum extension for VSTS only works with SSL secured iceScrum servers (the url must start with https). If your server is not secured, you can still integrate VSTS commits with iceScrum by using a custom service hook (see next section).
Simply add a Service Hook to your VSTS project. In the Settings tab of your VSTS project, under the Service Hook section, click on Create Subscription.
Select iceScrum in the list of service and click next.
You can optionally filter which repositories and branch commits/changesets should be pushed to iceScrum.
On the next screen you are asked for connection settings. The iceScrum API URL is built this way:
server: the URL of your iceScrum server. For iceScrum cloud instances it is