pub struct UserLoad {
pub user_id: String,
pub display_name: String,
pub in_flight_points: i64,
pub capacity_points: Option<i64>,
pub in_flight_issues: i64,
}Expand description
One row of the per-project workload report: how much in-flight effort a user is currently carrying versus their stated capacity.
“In-flight” today is the sum of effort over their assigned
issues whose status is open or in_progress. When a future
release introduces sprint / week / month periods, this struct’s
shape stays the same but the storage query that produces it will
take an additional period filter — callers receive the same
UserLoad either way.
Fields§
§user_id: String§display_name: String§in_flight_points: i64Sum of effort over the user’s assigned in-flight issues. Issues with no effort estimate contribute 0.
capacity_points: Option<i64>Stated capacity. None means the user has not set one yet —
in that case workload_state returns
WorkloadState::Unmonitored regardless of in_flight_points.
in_flight_issues: i64Number of in-flight issues this user is assigned to. Useful when several issues lack effort estimates and the points alone understate the load.