Skip to content

Jirret may comment jira issues not present in commit subject line #9

@tesuvant

Description

@tesuvant

Consider having two jira projects with ids like "ABC" and "BC". Then you create a commit with a subject line saying "ABC-1 bugfix for blah blah".

As a result two jira issues will be commented by jirret: ABC-1 and BC-1.

re.findall is too greedy.

issue_needle = '(%s-[0-9]+)'
matches = re.findall(issue_needle % p, issue_haystack)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions