aboutsummaryrefslogtreecommitdiff
path: root/data.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-01-31 16:09:12 +0100
committerÖzgür Kesim <oec@codeblau.de>2024-01-31 16:09:12 +0100
commitfc2ed3238703bcffb78622de3f8455912076a563 (patch)
treee78ecbee2ad1ab409e0d8969ece3e7c6ef1979a8 /data.go
parent4337b2837d15845cfa3c217de93b153bb89f2e4b (diff)
handle reopened issues like opened ones
Diffstat (limited to 'data.go')
-rw-r--r--data.go3
1 files changed, 2 insertions, 1 deletions
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" {