tickets with these values are broken and need a rescan
Tickets with unknown@kibble are likely scanned with the
old (broken) scanner, and we should redo them when
encountered in the DB.
diff --git a/src/plugins/scanners/jira.py b/src/plugins/scanners/jira.py
index 0320ffe..1d6bcf7 100644
--- a/src/plugins/scanners/jira.py
+++ b/src/plugins/scanners/jira.py
@@ -133,7 +133,10 @@
KibbleBit.pprint("[%s] Ticket was recently closed, parsing it" % key)
parseIt = True
else:
- pass
+ if ( ticket['issueCreator'] == 'unknown@kibble'
+ or ticket['issueCloser'] == 'unknown@kibble' ): # Gotta redo these!
+ parseIt = True
+ KibbleBit.pprint("[%s] Ticket contains erroneous data from a previous scan, reparsing" % key)
# This is just noise!
#KibbleBit.pprint("[%s] Ticket hasn't changed, ignoring..." % key)