Skip to content

Introduce Config Variable to Dynamically Name Branches Based on Jira Ticket Type #1

Open
@jessie-freenow

Description

@jessie-freenow

Problem Statement:

Currently, the CLI for Jira creates branches with a fixed prefix ("feature") for all Jira ticket types, regardless of whether they are bugs, stories, or other types. While users can manually override this behavior by specifying a prefix using the --prefix configuration option, it is not convenient to do so for every ticket, especially when managing multiple ticket types simultaneously.

Proposed Solution:

Introduce a configuration variable (dynamic-branch-prefix or auto-branch-prefix) that, when active, will modify the branch naming convention to include the type of Jira ticket. For instance:

For bug tickets: Branches will be prefixed with "bugfix"
For story and task tickets: Branches will be prefixed with "feature"
For refactor tickets: Branches will be prefixed with "refactor"

This enhancement will improve branch naming consistency and aid in project organization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions