Only take closed tickets into account for the report
This commit is contained in:
parent
d65fe6303c
commit
73f9a153d7
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ import (
|
||||||
func (c *Campaign) PrintUserReport() {
|
func (c *Campaign) PrintUserReport() {
|
||||||
userTickets := map[string]int{}
|
userTickets := map[string]int{}
|
||||||
for _, ticket := range c.Tickets {
|
for _, ticket := range c.Tickets {
|
||||||
|
if !ticket.IsClosed() {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
user := ticket.GithubAssignee
|
user := ticket.GithubAssignee
|
||||||
if user != "" {
|
if user != "" {
|
||||||
if count, ok := userTickets[user]; ok {
|
if count, ok := userTickets[user]; ok {
|
||||||
|
|
Loading…
Reference in a new issue