Skip to content

Draft: Add unstarted count to timebox reporting stats

euko requested to merge 381879-unstarted-count into 381879-resolve

What does this MR do and why?

  • Adds a new GraphQL field unstarted_count to ee/app/graphql/types/time_report_stats_type.rb

  • Updates Timebox::ReportService to return the unstarted count - the number of top-level issues/tasks without any assignee - for a timebox.

Sample GraphQL query
{
  iteration(id: "gid://gitlab/Iteration/6907") {
    id
    title
    report(fullPath: "my-project") {
      stats {
        unstartedCount # new field
        total {
          count
        }
        complete {
          count
        }
        incomplete {
          count
        }
      }
    }
  }
}

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #381879

Edited by euko

Merge request reports