Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Exclude WONTFIX/DUPLUCATE and other resolutions #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions datapull.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down