Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Question: How to validate the same Jira issue is both in the branch name and at the start of commit message #87

@tlvu

Description

@tlvu

Hi,

The use-case is to prevent use from typing the wrong Jira issue into the commit message.

We typically create the branch from Jira so there is no way to get the branch name wrong and the Jira issue will also be part of the branch name.

So if we can check that the same Jira issue that is in the branch name is also in the commit message, we are sure it is good.

This exclude branch master and develop of course. This is for a bugfix/feature/hotfix/release or other custom type of branches.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions