About

The plugin provides the following functionality:

  • auto generation of GIT branch name, stored in a process parameter;

  • protection against wrong status change for in-progress process;

  • generation GIT commands for organization of Standard GIT Workflow.

You can see the plugin enabled and sample configurations in Demo System.

Setup

Make sure the plugin is enabled in configuration. Place the following configuration:

git:enable=1

# constants
PARAM_BRANCH_ID=<paramBranchId>
PARAM_EMAIL_ID=<paramEmailId>

git:param.branch={@PARAM_BRANCH_ID}
git:param.email={@PARAM_EMAIL_ID}
git:process.allowed.status.with.branch=<allowedStatusIds>

# optional parameters with default values
# prefix for branch name and commit message
#git:prefix=p
# main branch
#git:main.branch=master
# command after a branch's creation, e.g.: && ./gradlew touchChanges
#create.branch.suffix=

Where:

  • <paramBranchId> - process parameter type 'text', storing GIT branch, required;

  • <paramEmailId> - user parameter type 'email', storing author’s identity;

  • <allowedStatusIds> - comma separated list of allowed status IDs with set branch name.

To enable GIT tab in process card add in type configuration.

git:processShowGit=1

Usage

On the screen below is shown process card with activated plugin.

process

When entering GIT branch it will be prefixed by generated prefix. GIT tab shows generated commands for handling task’s workflow. Status changing has to be limited by configuration if that exists.

l>