diff --git a/data.go b/data.go index 46f2716..5512f0f 100644 --- a/data.go +++ b/data.go @@ -109,7 +109,8 @@ func (d *Data) update() { // Filter issues with old target versions out var issues = Issues{} for _, issue := range iss.Issues { - if strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 { + if issue.Resolution.Name == "open" && + strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 { issues = append(issues, issue) } }