From b8e8710f098ff8d416697e84df9c29473d43ad21 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 3 Apr 2014 17:25:40 +0530 Subject: [PATCH] Exclude WONTFIX/DUPLUCATE and other resolutions --- datapull.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/datapull.js b/datapull.js index 4ca61a8..d3fb306 100644 --- a/datapull.js +++ b/datapull.js @@ -120,10 +120,12 @@ function createUser(userObj, private, save) { }); pending++; - // Count assigned + // Count assigned bugs that are not WONTFIXed or DUPLICATEd bugzilla.countBugs({ email1: email, - email1_assigned_to: 1 + email1_assigned_to: 1, + status: ['UNCONFIRMED','NEW','ASSIGNED','REOPENED','RESOLVED','VERIFIED'], + resolution: ['---','FIXED'] }, function(error, assigned) { if (error) { errorHandler(error);