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