[BB-6766] Basic support for subteams
Story
"As a member of a large organization, I want to be able to fill out my checklist while affiliating it with a subgroup so that I can have reports subdivided by subteam"
Full description
While the full criterion of subteams is still being decided, a smaller portion of its functionality should be implemented today to address a pain point for the Core Contributors and Workgroups.
The sprint checkin form is used by two subgroups-- the Core Contributors and the Marketing Workgroup. There are team members who are on both teams. Each of those members currently receives two copies of the checklist, and it's often ambiguous to them how they're to track their hours on the checklist.
Add subteams. Subteams will be subgroups under teams that recurrences can be set to include. A user who is under multiple subteams should only get the checklist once. Reports run on a checklist should be divisible by subteam. If a user is on more than one subteam, their answers should be visible on any report run that includes one of the subteams they're on.
Completion criteria
- Teams can be divided into subteams
- Users can be a part of multiple subteams within a team
- Team members can view the reports of all team members/subteams
- A user can be part of a team but not part of any subteam
- Automated testing must cover common paths in behavioral specification.
Behavioral specifications
(optional) Describe the various actions users can perform in the software and the expected response of the software. Include the common happy paths, and paths which result in errors.
- "When the sprint rolls over, if a user is in multiple subteams, they will only get one checklist."
- "When a user visits the report page, they can run reports for the team at large or any subteam."
Documentation updates & improvements criteria
- Update the documentation to discuss the impacts of teams and subteams.
Relevant repositories
Review timeline
- PR to be sent for review by
- First PR review to be completed by
- [Optional] Draft/WIP PR sent for review by