From fc2ed3238703bcffb78622de3f8455912076a563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Wed, 31 Jan 2024 16:09:12 +0100 Subject: [PATCH] handle reopened issues like opened ones --- data.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data.go b/data.go index c2e5065..734669d 100644 --- a/data.go +++ b/data.go @@ -193,7 +193,8 @@ func (d *Data) getIssues() { 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 { open++ if issue.Severity.Name == "feature" {