handle reopened issues like opened ones

This commit is contained in:
Özgür Kesim 2024-01-31 16:09:12 +01:00
parent 4337b2837d
commit fc2ed32387
Signed by: oec
GPG Key ID: F136A7F922D018D7

View File

@ -193,7 +193,8 @@ func (d *Data) getIssues() {
issue.Children = append(issue.Children, ch.Issue) issue.Children = append(issue.Children, ch.Issue)
} }
} }
if issue.Resolution.Name == "open" && if (issue.Resolution.Name == "open" ||
issue.Resolution.Name == "reopened") &&
strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 { strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
open++ open++
if issue.Severity.Name == "feature" { if issue.Severity.Name == "feature" {