Introduction

This page contains information on how to use Smart Commits while you are coding for the OpenHospital project.

Smart Commits allow repository committers to perform actions such as transitioning JIRA Software issues or embedding specific commands into their commit messages.

You can:


What is important for Agile in OpenHospital project

We need that you include in your commit at least


One example is worth a thousand words

Commit for issue OP-11 #comment added Gradle support #time 1d 4h #in-review Please review my work

Syntax:

<ignored text> <ISSUE_KEY> <ignored text> #<COMMAND> <optional COMMAND_ARGUMENTS>


Other Smart Commit commands


We invite you to refer to the official documentation Using Smart Commits.


Otherwise...

It is also possible to log your time directly on the Jira issues (click “Log work”):

Altough this method is more long, can be more precise and it affect immediately the SCRUM board and Sprint (in opposite to the smart commit that will be taken in account only after merge commits from your pull-requests)