ignore resolved issues
This commit is contained in:
parent
5a37ffb1cf
commit
37a5d0ac43
3
data.go
3
data.go
@ -109,7 +109,8 @@ func (d *Data) update() {
|
|||||||
// Filter issues with old target versions out
|
// Filter issues with old target versions out
|
||||||
var issues = Issues{}
|
var issues = Issues{}
|
||||||
for _, issue := range iss.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)
|
issues = append(issues, issue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user