git-chglog / git-chglog

CHANGELOG generator implemented in Go (Golang).
https://godoc.org/github.com/git-chglog/git-chglog
MIT License
2.67k stars 235 forks source link

Jira integration: support multiple work item tickets per commit #259

Open davidalpert opened 9 months ago

davidalpert commented 9 months ago

Expected Behavior

Sometimes a single conventional commit can fix or resolve several work item tickets at once. In the case of Jira, for example, this might look like a commit message that includes multiple Jira issue keys:

fix: that annoying bug that's been reported by everyone

resolves: JIRA-1111, JIRA-1112, JIRA-1113
related-to: JIRA-1110

In this case, it would be useful to make all of the work items available to the template.

Actual Behavior

Only the first matching work item / Jira issue key is matched.

Steps to Reproduce (including precondition)

Your Environment

davidalpert commented 9 months ago

this is a bit larger piece of work as it will either change the structure for referencing Jira tickets in existing templates or increase complexity to maintain backwards compatibility; as such I prefer to receive feedback on existing open pull requests to ensure that I am following appropriate style and this work is aligned with the purpose of this tool: