Skip to main content

Work area templates reference

Every work area is created from one of five built-in templates. The template fixes which coverage fields the work area accepts and the limits it enforces. Templates are supplied with the deployment and cannot be created or edited.

  • Deployment: SaaS, On-premises

A template is chosen at creation and cannot be changed afterward.

Templates

The following table lists the built-in templates:

TemplateKeyCoverage typeCoverage fieldRequired
Companycompanywhole_companyNoneNo
ProjectprojectrepositoriesrepoStableIds or repoSelectorsYes
TeamteampeoplecommitterEmailsYes
Mixedmixedrepos_and_peoplerepoStableIds or repoSelectors, and committerEmailsYes
Combinedcombinedwork_areaschildWorkAreaIdsYes

A company work area omits all explicit coverage. Every other template requires at least one entry in its coverage field.

Coverage limits

The following table lists the maximum coverage each template accepts:

TemplateMaximum repositoriesMaximum developersMaximum child work areas
CompanyNoneNoneNone
Project50NoneNone
TeamNone50None
Mixed50100None
CombinedNoneNone20

None means the template accepts no coverage of that kind, not that the limit is unbounded.

Work areas created by migration from an earlier version can exceed these limits. Those keep working and can be reduced, but an update must not increase a dimension that is already over its limit.

How coverage combines

The following table lists what each coverage type reports on:

Coverage typeReports on
whole_companyAll captured activity in the organization
repositoriesActivity in the listed repositories, by anyone
peopleActivity by the listed committers, in any repository
repos_and_peopleActivity in the listed repositories by the listed committers, the intersection of both
work_areasEverything the listed child work areas report on, the union of all of them

Repository identification

Repository-scoped templates accept two forms, and a work area can hold both. The following table lists them:

FormFieldResolution
Stable idrepoStableIdsFixed. Matches one specific registered repository
Remote selectorrepoSelectorsResolved at query time from a normalized owner/repo or basename

A remote selector keeps matching after a repository is re-cloned or re-registered, so it survives changes that would break a stable id.

Child work area rules

Combined templates reference other work areas rather than copying their coverage. The following rules apply:

  • Children resolve at query time, so a change to a child is reflected without editing the parent.
  • A child must belong to the same organization.
  • A child must not itself be a combined work area.
  • A child must not be the default company work area.

Dashboards and reports per template

The following table lists what each template renders:

TemplateRenders
CompanyActivity dashboard, Tooling dashboard, AI adoption report
Project, Team, Mixed, CombinedActivity dashboard, Tooling dashboard

The AI adoption report is available only on the company template, because it reports on organization-wide adoption rather than a scoped slice.