Skip to content

Governance and security

Organization structure

Reporting lines, people attributes, org units, teams and projects: view the org chart, edit the structure, and import it from Okta, Entra ID, Google Workspace, LDAP / AD, SCIM or CSV.

Last updated 7 min read Edit this page on GitHub
On this page

The Organization page shows who reports to whom, how the workspace is divided into divisions and departments, which teams exist and who works on which project. The same structure is available to the API, MCP and CLI, and is what upcoming task views ("my team", "this project's team") will use to decide whose work to show.

Concepts#

ConceptWhat it isStored in
Reporting lineEach member's manager in this workspace. Direct reports, indirect reports (up to 10 levels), the manager chain and peers (same manager) are derived from it.user_memberships.manager_user_id
People attributesJob title, department, location, employee id and cost centre — per workspace, so one person can have a different title in each workspace.user_memberships
Org unitA box in the formal structure: company, division, department, unit or any custom kind. Units nest, have an optional head and members; one unit can be a person's primary unit.org_units, org_unit_members
TeamA working group used for task assignment and queues (Teams and invitations). Teams nest and have a lead, an optional org unit, a colour and a kind (team, squad, guild or your own).teams, user_teams
ProjectA piece of work with a key (APOLLO), a status (active, on_hold, completed, archived), an owner, an optional sponsor, owning team and org unit, dates and a colour. Its people are its direct members (each with a role such as Lead or Member and an optional allocation %) plus the members of the owning team and every attached team, sub-teams included.projects, project_members, project_teams

Loops are refused everywhere: nobody can be managed by someone who reports to them, and a unit or team cannot be moved inside itself — the database checks this on every write. A member who leaves the workspace leaves its units and projects and stops being a unit head or team lead.

Views#

Organization in the sidebar (/org, needs View organization or View projects) has four views. Each has a chart and an accessible List layout; on a phone the chart becomes an indented list.

  • People — the org chart from reporting lines: avatar, name, title, department and direct-report count on each card. Expand and collapse branches, pan and zoom, search to jump to a person, and Show me to centre on yourself. Click a person for a side panel with their manager chain, direct reports, teams, projects and org units. Large organisations open branch by branch.
  • Org units — the division / department tree with each unit's head and headcount (the unit's own members, and everyone including sub-units).
  • Teams — teams as cards nested under their parent team, with the lead, member avatars, the linked org unit and the team's projects.
  • Projects — project cards with status, owner, dates, members and attached teams. Open a project (/org/projects/<id>) to see its team: direct members with their roles and allocation, and each attached team with its members.

Editing#

Organization → Manage (/org/manage, needs Manage organization or Manage projects) is where the structure is edited:

  • People: set a person's manager, job title, department, location, employee id and cost centre. Changing a manager needs Manage organization or Manage roles.
  • Org units: create, rename, change the kind, move (Move to…, or drag a unit onto another in the tree), set the head, add and remove members, mark a primary unit, delete. Deleting a unit moves its sub-units up to its parent; its teams and projects lose the link.
  • Teams: what the Team page does, plus lead, org unit, colour and kind.
  • Projects: create, edit, archive / restore and delete; add members with a role and allocation; attach and detach teams. A new project gets a key from its name (Mobile App Relaunch → MAR) unless you give one; keys are unique per workspace, ignoring case.

Every change is written to the audit log (object types Member, Org unit, Team and Project).

Detaching imported data#

Data that came from a directory or a CSV import is marked with its source and is read-only in the editor until you detach it:

  • People attributes imported by directory sync are refreshed on every sync. Detach a person's attributes to edit them here; sync then leaves that person's attributes alone.
  • Org units created by an import are updated by the next import (name, kind, parent). Detach a unit to edit or delete it; imports stop changing it but still place people in it.

Reporting lines keep their rule: a manager set by directory sync replaces a manual one on the next sync (Reporting lines).

Importing from a directory#

Directory sync can import the org structure as well as users and groups. Each connection has two switches in Settings → SSO & Directory:

  • Import job titles & locations — fills the people attributes below.
  • Import org structure (departments / divisions) — creates org units from company / division / department (Google Workspace: the org unit path) and places each person in their unit.

Both are on for new connections and off for connections that existed before this release, so nothing changes until an admin turns them on.

DirectoryJob titleDepartmentDivision / companyLocationEmployee idCost centreManager
Microsoft Entra IDjobTitledepartmentcompanyNameofficeLocationemployeeId—manager
Oktaprofile.titleprofile.departmentprofile.division, profile.organization—profile.employeeNumberprofile.costCenterprofile.managerId
Google Workspaceorganizations[].titleorganizations[].departmentorgUnitPath as a hierarchy——organizations[].costCenterrelations of type manager
LDAP / Active Directorytitledepartment—physicalDeliveryOfficeNameemployeeID—manager (a DN)
SCIMtitleenterprise departmententerprise division, organization—enterprise employeeNumberenterprise costCenterenterprise manager.value

Imported org units are keyed by source and path (for example company:acme/division:operations/department:finance, or ou:/engineering/web for Google), so a re-sync updates the same units instead of duplicating them. A renamed department gets its new name; a sync never deletes units (an emptied department stays until you delete it). Only memberships the same source created are moved or removed; people you added to a unit by hand stay.

Importing people from a directory#

Organization → Import people (also Manage → Import people) starts from a connected directory (Entra ID, Okta, Google Workspace or LDAP / Active Directory, set up in Settings → SSO & directory) or a CSV file:

  1. Pick the source.
  2. Preview the directory's groups and people. Nothing is written yet. Picking groups narrows the people to their members, and each person shows whether they are new, already a member, already invited, inactive or have no email.
  3. Then either:
    • Invite the selected people with a role. These are one-off email invitations, and nothing stays linked to the directory. Inviting needs team.invite; the Admin role also needs team.change_roles.
    • Keep the selected groups in sync. The groups become the connection's group scope, group sync and provisioning turn on, and a full sync starts. This needs settings.edit. Without a group selected, everyone the connection returns is kept in sync. Narrowing the scope never revokes anyone by itself; leavers are still judged on the directory's whole listing.

People are re-read from the directory on the server for every action, and each invite or sync is recorded in the audit log.

Importing from CSV#

Organization → Manage → Import people → CSV file takes a CSV file (UTF-8, up to 5 MB and 10,000 rows):

ColumnMeaning
emailRequired; identifies the member. Rows for people who are not members are errors — invite them first, an import never creates accounts.
display_nameOptional, for your reference.
manager_emailThe person's manager (a member of the workspace).
job_title, location, employee_id, cost_centerPeople attributes.
division, departmentOrg units: the division, then the department inside it, created when missing (source csv).
teamOne or more team names separated by ;. The person is added to each (teams are created when missing); an import never removes anyone from a team.
  1. Download the template (or export the current structure) to get the headers.
  2. Upload the file and check the column mapping: headers are matched by name and common synonyms (Email Address, Manager, Title, Dept, Cost Centre), and you can map any column to any field or skip it.
  3. The dry run lists every row as create (the person gets attributes, a manager, a unit or a team for the first time), update, unchanged or error, with its changes, the org units and teams that would be created, and any manager loops the file would create. Nothing is written yet.
  4. Apply checks the file again on the server and writes the valid rows; rows with errors are skipped. One audit entry records the import.

A blank cell leaves the value as it is; a single - clears it (manager, attributes, division / department). Rows that would change attributes owned by directory sync are errors (detach them first).

Export downloads the current structure as CSV in the same format, one row per active member, so you can edit it in a spreadsheet and import it back. Cells that a spreadsheet would treat as a formula are prefixed with '.

API, MCP and CLI#

RESTMCP
Org chartGET /api/v1/org/chartorg_chart
A person in contextGET / PATCH /api/v1/org/people/{id}, POST /api/v1/org/people/{id}/detachorg_person_get, org_person_update, org_person_detach
Reports, chain, peersGET /api/v1/org/people/{id}/subordinates (depth=direct or all, include_self), …/manager-chain, …/peersorg_subordinates, org_manager_chain, org_peers
A person's teams and projectsGET /api/v1/org/people/{id}/teams, …/projectsorg_person_get, projects_mine
People in a scopeGET /api/v1/org/scope (scope = me, direct_reports, all_reports, team, org_unit or project, with id)org_scope_resolve
Org units/api/v1/org/units, /api/v1/org/units/{id}, …/detach, …/members, …/members/{userId}org_units_list, org_unit_get, org_unit_create, org_unit_update, org_unit_delete, org_unit_detach, org_unit_members, org_unit_member_add, org_unit_member_remove
Team treeGET /api/v1/org/teams, GET /api/v1/org/teams/{id}/members (recursive)org_team_tree, org_team_members
CSVGET /api/v1/org/export, GET /api/v1/org/import/template, POST /api/v1/org/import (dry_run defaults to true)org_export, org_import
Projects/api/v1/projects, /api/v1/projects/{id}, …/archive, …/members, …/members/{userId}, …/teams/{teamId}projects_list, projects_get, projects_create, projects_update, projects_archive, projects_delete, projects_members, projects_member_add, projects_member_remove, projects_team_attach, projects_team_detach

me works in place of a user id with a user-bound key or OAuth token. POST / PATCH /api/v1/teams also accept a team's lead, org unit, colour and kind. GET /api/v1/org/export and /org/import/template return { csv, filename }; add ?format=csv for the file. The CLI has the same operations under usertasks org …, usertasks org-units … and usertasks projects … (CLI commands); parameters are in the API endpoint reference.

Permissions#

PermissionAllowsDefault roles
View organization (org.view)The org chart, people attributes, org units, the team tree, anyone's reports, chain and peersEvery system role, and custom roles with View members
Manage organization (org.manage)People attributes and managers, org units and their members, detaching, CSV importOwner, Admin
View projects (projects.view)Every project with its members and teamsEvery system role, and custom roles with View members
Manage projects (projects.manage)Create, edit, archive and delete projects; members and attached teamsOwner, Admin, Manager

Without these, people still see their own reporting line, reports, teams and the projects they are on. Team changes keep the team permissions (Invite members, Remove members). OAuth tokens get the four through the team:read / team:write scopes.

Coming next#

The task tracker will use this structure for "my team" and "project team" views. The building block is already available as people scopes (GET /api/v1/org/scope).

Was this page helpful?