Open davidalpert opened 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:
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:
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)
update
./testdata/gitlog_jira.txt
so that a commit has more than one Jira key in it.JiraIssueID
with the first issue ID found but the additional IDs are not available on the parsedcommit
object.Your Environment
GOOS=darwin GOARCH=arm64
v0.15.4-5-g8ec17f6