Work Item Related Methods
The following methods are available to manage Work Item.
PickRandom(List projectUsers, string excludeUserId) | Gets a random user for verification work items. | The project user. |
---|---|---|
GetUserKpi(WorkItemType type, DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemStatus status, WorkItemAction action) | Gets the KPI for a user. | The KPI for a user. |
GetUserKpi(int projectId, int groupId, WorkItemType type, DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemStatus status, WorkItemAction action) | Gets the KPI for a user. | The KPI for a user. |
GetHighThroughputUserId(DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemType type, WorkItemAction action, WorkItemStatus status) | Gets all high throughput users from verification. | The user ID. |
GetHighThroughputUserId(int projectId, int groupId, DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemType type, WorkItemAction action, WorkItemStatus status) | Gets all high throughput users from verification. | The user ID. |
GetHighThroughputUserId(string excludeUserId, WorkItemType type, WorkItemAction action, WorkItemStatus? status = null) | Gets all high throughput users from verification. | The user ID. |
GetHighThroughputUserId(int projectId, int groupId, string excludeUserId, WorkItemType type, WorkItemAction action, WorkItemStatus? status = null) | Gets all high throughput users from verification. | The user ID. |
GetIdleUserId(WorkItemType type, WorkItemAction action, DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemStatus? status = null) | Gets an idle user from a project. | The user ID. |
GetIdleUserId(int projectId, int groupId, WorkItemType type, WorkItemAction action, DateTime fromDate, DateTime toDate, string excludeUserId, WorkItemStatus? status = null) | Gets an idle user from a project. | The user ID. |
GetIdleUserId(WorkItemType type, string excludeUserId, WorkItemAction action, WorkItemStatus? status = null) | Gets an idle user from a project. | The user ID. |
GetIdleUserId(int projectId, int groupId, WorkItemType type, string excludeUserId, WorkItemAction action, WorkItemStatus? status = null) | Gets an idle user from a project. | The user ID. |
CreateWorkItem(IProjectUser pu, WorkItemType type, WorkItemStatus status, WorkItemAction action, WorkItemMethod method, TimeSpan graceperiod, int? serviceId, int? documentId, int? shredId, int? defId, int? transactionId, int? verificationId, int? workItemId, string info, string comment, WorkItemReason? reason = null, int? reasonLookup = null, int? reasonRecord = null, string reasonCode = null, string reasonDescription = null, string reasonComment = null) | Create a new work item. | The user ID. |