aktueller Status
This commit is contained in:
@@ -274,7 +274,9 @@ namespace C4IT.F4SD
|
||||
"IncidentNew",
|
||||
"IncidentActive",
|
||||
"IncidentCritical",
|
||||
"IncidentNewInfo"
|
||||
"IncidentNewInfo",
|
||||
"UnassignedTickets",
|
||||
"UnassignedTicketsCritical"
|
||||
};
|
||||
|
||||
public class TicketOverviewCountsResult
|
||||
@@ -819,7 +821,8 @@ namespace C4IT.F4SD
|
||||
return false;
|
||||
|
||||
var isTicket = !entry.IsIncident;
|
||||
var isAssigned = entry.RecipientId != Guid.Empty || entry.RecipientRoleId != Guid.Empty;
|
||||
var hasPerson = entry.RecipientId != Guid.Empty;
|
||||
var isAssigned = hasPerson || entry.RecipientRoleId != Guid.Empty;
|
||||
var isCritical = entry.ReactionTimeEscalated || entry.SolutionTimeEscalated;
|
||||
var isNew = entry.State == 200;
|
||||
var isActive = entry.State == 201 || entry.State == 202 || entry.State == 203;
|
||||
@@ -842,6 +845,10 @@ namespace C4IT.F4SD
|
||||
return entry.IsIncident && isCritical;
|
||||
case "IncidentNewInfo":
|
||||
return entry.IsIncident && entry.NewInformationReceived;
|
||||
case "UnassignedTickets":
|
||||
return !hasPerson && isNew;
|
||||
case "UnassignedTicketsCritical":
|
||||
return !hasPerson && isCritical;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user