Skip to content

fix: trends report for teams and subteams combined

Navin Karkera requested to merge navin/fix-trends-subteam-report into master

Trends report ignore subteams if team reports are available in the selected team ids. This avoids counting the same task twice and messing with trends.

Problem scenario:

  • A team with 2 members: A and B
  • Subteam with A as the only member
  • A recurrence including both, team and subteam
  • The total number of checklists created = 2 (one for A and one for B)
  • But the trends tab shows as total count = 3 for each task as a trend report is saved for a team and a run, so in this case it would be 2 rows in trend report table.
  • Correct count is 2
  • Each trend report has total count based on number of checklists in it, which is 2 for team and 1 for subteam.

Visual changes

Team multi select:

image

Testing instructions

  • Follow the steps in the example scenario mentioned in description
  • Make sure that the overview, trends and compare report are correct for different scenarios

Merge request reports