Azure DevOps Structure and Hierarchy
Azure DevOps Structure and Hierarchy
Prompt:
describe the structure of Azure Devops. I’m particularly interested in understanding the structure hierarchy including projects, wikis, issues, dashboards, pipelines, boards, repositories, artifacts, and the relationships between them
Azure DevOps is organized around an Organization that contains one or more Projects. Each project is a container for source code, work tracking, CI/CD, documentation, dashboards, packages, and collaboration tools.
At a high level:
Small typo in the diagram label: “Wikits” should be read as Wikis.
1. Organization
The Organization is the top-level Azure DevOps container.
Example:
https://dev.azure.com/my-company
An organization contains:
Organization
├── Projects
├── Users and groups
├── Organization-level permissions
├── Billing
├── Extensions
├── Agent pools
├── Some artifact feeds
└── Organization settings
The organization is where you manage:
- Users
- Groups
- Licensing
- Extensions
- Global security policies
- Agent pools for pipelines
- Cross-project access
- Organization-scoped artifact feeds
2. Projects
A Project is the main working space for a product, application, platform, or team.
Example:
Organization
└── Project: CustomerPortal
A project usually contains:
Project
├── Azure Boards
├── Azure Repos
├── Azure Pipelines
├── Azure Test Plans
├── Azure Artifacts
├── Wikis
├── Dashboards
├── Teams
├── Permissions
└── Project settings
Most Azure DevOps resources live inside a project.
A project can represent:
- One product
- One application
- One platform
- One department
- One major delivery stream
- A collection of related repositories and pipelines
3. Teams
Within a project, you can define Teams.
Example:
Project: CustomerPortal
├── Team: Web Frontend
├── Team: API Backend
└── Team: Platform
Teams affect:
- Boards
- Backlogs
- Sprint planning
- Dashboards
- Area paths
- Iteration paths
- Work item visibility
Each team can have its own:
- Kanban board
- Sprint board
- Backlog
- Dashboard
- Area path ownership
- Iteration schedule
So a project may contain many teams, and each team may see a filtered view of the same project-level work items.
4. Azure Boards
Azure Boards is the work-tracking system.
It contains:
Azure Boards
├── Work Items
├── Backlogs
├── Boards
├── Sprints
├── Queries
├── Delivery Plans
├── Area Paths
└── Iteration Paths
Azure DevOps does not primarily use the term “issues” in the same way GitHub does. The equivalent concept is usually a Work Item.
Common work item types include:
Epic
└── Feature
└── User Story / Product Backlog Item
└── Task
And also:
Bug
Issue
Test Case
Impediment
Risk
The exact types depend on the selected process template:
- Agile
- Scrum
- CMMI
- Basic
- Custom process
Work item hierarchy
A typical hierarchy looks like this:
Epic
├── Feature
│ ├── User Story
│ │ ├── Task
│ │ ├── Task
│ │ └── Bug
│ └── User Story
└── Feature
Work items can also be linked to:
- Pull requests
- Commits
- Branches
- Builds
- Releases
- Test cases
- Other work items
- Wiki pages, manually
- External URLs
Example relationship:
User Story #123
├── Child Task #124
├── Child Task #125
├── Related Bug #130
├── Linked Pull Request #42
├── Linked Commit abc123
└── Linked Build 20240723.5
5. Boards, Backlogs, and Sprints
Within Azure Boards, the main planning views are:
Backlogs
Backlogs are prioritized lists of work.
Project Backlog
├── Epics
├── Features
├── User Stories / Product Backlog Items
└── Tasks
Boards
Boards are Kanban-style views of work items.
Example columns:
New → Active → Resolved → Closed
or:
To Do → Doing → Code Review → Done
Sprints
Sprints use Iteration Paths.
Example:
Project
└── Iterations
├── Sprint 1
├── Sprint 2
└── Sprint 3
Teams choose which iterations they use.
Area Paths
Area paths are used to categorize ownership or component boundaries.
Example:
CustomerPortal
├── Frontend
├── Backend
├── Infrastructure
└── Mobile
A team can be configured to own specific area paths.
6. Azure Repos
Azure Repos contains source code repositories.
A project can have multiple repositories:
Project: CustomerPortal
└── Repos
├── customer-portal-web
├── customer-portal-api
├── infrastructure
└── shared-libraries
Each Git repository contains:
Repository
├── Branches
├── Commits
├── Tags
├── Pull Requests
├── Policies
└── Repository security
Azure Repos supports:
- Git repositories
- TFVC repositories, though Git is far more common now
Repos are project-scoped, but pipelines and permissions can cross project boundaries if configured.
Relationship to Boards
Repos can link code changes to work items.
For example, a commit message can reference a work item:
Fix login redirect bug AB#123
That links the commit to work item 123.
Pull requests can also be linked directly to work items.
Work Item #123
└── Pull Request #42
├── Commit abc123
└── Build validation pipeline
7. Azure Pipelines
Azure Pipelines handles CI/CD.
A project can have many pipelines:
Project: CustomerPortal
└── Pipelines
├── web-ci
├── api-ci
├── infrastructure-deploy
└── nightly-tests
Pipelines are commonly defined as YAML files stored in a repo:
Repository
└── azure-pipelines.yml
A pipeline can be triggered by:
- Pushes
- Pull requests
- Tags
- Manual runs
- Schedules
- Pipeline completion
- External resources
Pipeline hierarchy
A YAML pipeline usually has this structure:
Pipeline
├── Stages
│ ├── Jobs
│ │ ├── Steps
│ │ ├── Scripts
│ │ └── Tasks
│ └── Jobs
└── Resources
Example:
Pipeline: api-ci
├── Stage: Build
│ └── Job: Compile and Test
│ ├── Restore packages
│ ├── Build
│ └── Run tests
└── Stage: Deploy
└── Job: Deploy to dev
├── Download artifact
└── Deploy app
Pipeline relationships
Pipelines can connect to:
- Repositories
- Branches
- Pull requests
- Work items
- Builds
- Releases
- Environments
- Artifacts
- Variable groups
- Service connections
- Agent pools
Example:
Pull Request
└── Triggers validation pipeline
├── Builds code from repository
├── Runs tests
├── Publishes build artifacts
└── Reports status back to PR
8. Build and Release Artifacts
The word artifact is used in two related but distinct ways in Azure DevOps.
Pipeline artifacts
These are files produced by a build or pipeline run.
Example:
Pipeline Run
└── Build Artifact
├── app.zip
├── test-results.xml
└── deployment-manifest.json
These artifacts are usually consumed by later pipeline stages or release pipelines.
Azure Artifacts
Azure Artifacts is a package management service.
It hosts package feeds for things like:
- NuGet
- npm
- Maven
- Python packages
- Universal Packages
- Cargo, depending on support/extensions
Example:
Azure Artifacts
└── Feed: internal-packages
├── npm package: @company/ui-components
├── NuGet package: Company.Logging
└── Maven package: company-auth-client
Feeds can be:
- Project-scoped
- Organization-scoped
So “artifacts” can mean either:
| Term | Meaning |
|---|---|
| Pipeline artifact | Build output from a pipeline run |
| Azure Artifacts feed | Package registry/feed for reusable packages |
9. Wikis
Each project can have one or more Wikis.
There are two main types:
Project
└── Wikis
├── Project Wiki
└── Code Wiki
Project Wiki
A Project Wiki is managed directly by Azure DevOps but is backed internally by a Git repo.
It is useful for:
- Team documentation
- Runbooks
- Architecture notes
- Onboarding guides
- Operational procedures
Code Wiki
A Code Wiki publishes Markdown files from an existing repository.
Example:
Repository: docs
└── /architecture
├── overview.md
├── deployment.md
└── security.md
That repository folder can be exposed as a wiki.
Wiki relationships
Wikis are project-level documentation spaces. They can link to:
- Work items
- Repositories
- Pull requests
- Pipelines
- Dashboards
- External systems
But they are not usually deeply integrated into the work hierarchy the way Boards and Repos are.
10. Dashboards
Dashboards are visual information pages inside a project or team.
Project
└── Dashboards
├── Project Overview
├── Team Dashboard
├── Sprint Dashboard
└── Release Dashboard
Dashboards contain widgets.
Widgets can show:
- Work item queries
- Sprint burndown
- Build status
- Release status
- Pull request summaries
- Markdown content
- Test results
- Deployment status
- Charts
- Query results
Dashboards are often scoped to a team.
Example:
Project: CustomerPortal
└── Team: API Backend
└── Dashboard: Sprint Overview
├── Sprint burndown
├── Active bugs
├── Pull requests
└── Build status
11. Test Plans
You did not specifically mention Test Plans, but they are part of the Azure DevOps project structure.
Project
└── Test Plans
├── Test Plans
├── Test Suites
├── Test Cases
└── Test Runs
Test cases are also work items, so they can be linked to requirements, bugs, and user stories.
Example:
User Story
└── Tested by
├── Test Case 1
└── Test Case 2
12. Permissions and Security
Permissions exist at multiple levels.
Organization
├── Organization permissions
├── Project permissions
├── Repo permissions
├── Branch policies
├── Pipeline permissions
├── Environment approvals
├── Artifact feed permissions
└── Dashboard/wiki permissions
Common security concepts include:
- Users
- Groups
- Teams
- Project Administrators
- Contributors
- Readers
- Stakeholders
- Service connections
- Pipeline identities
- Agent pools
Security can be inherited or overridden at lower levels.
For example:
Organization
└── Project
└── Repository
└── Branch
A user may have access to the project but not permission to approve changes to a protected branch.
13. Typical Relationship Flow
A common end-to-end flow looks like this:
In practice:
1. Product owner creates a User Story in Azure Boards.
2. Developer creates a branch linked to that work item.
3. Developer commits code to Azure Repos.
4. Developer opens a Pull Request.
5. PR triggers an Azure Pipeline.
6. Pipeline builds and tests the code.
7. PR is approved and merged.
8. Main branch pipeline creates a build artifact.
9. Release/deployment pipeline deploys artifact to an environment.
10. Dashboard shows work, build, test, and deployment status.
11. Wiki documents the feature or operational process.
14. Full Hierarchy Summary
A practical hierarchy looks like this:
Azure DevOps Organization
├── Users, groups, billing, extensions
├── Agent pools
├── Organization-scoped artifact feeds
└── Projects
└── Project
├── Teams
│ ├── Team backlog
│ ├── Team board
│ ├── Team sprints
│ └── Team dashboards
│
├── Azure Boards
│ ├── Work items
│ │ ├── Epics
│ │ ├── Features
│ │ ├── User Stories / PBIs
│ │ ├── Tasks
│ │ ├── Bugs
│ │ └── Issues
│ ├── Backlogs
│ ├── Kanban boards
│ ├── Sprint boards
│ ├── Queries
│ ├── Area paths
│ └── Iteration paths
│
├── Azure Repos
│ ├── Git repository
│ │ ├── Branches
│ │ ├── Commits
│ │ ├── Tags
│ │ ├── Pull requests
│ │ └── Policies
│ └── Git repository
│
├── Azure Pipelines
│ ├── YAML pipelines
│ ├── Classic build pipelines
│ ├── Classic release pipelines
│ ├── Pipeline runs
│ ├── Environments
│ ├── Variable groups
│ ├── Secure files
│ └── Service connections
│
├── Azure Artifacts
│ ├── Package feeds
│ └── Packages
│
├── Wikis
│ ├── Project wiki
│ └── Code wiki
│
├── Dashboards
│ ├── Project dashboards
│ └── Team dashboards
│
└── Test Plans
├── Test plans
├── Test suites
├── Test cases
└── Test runs
15. Mental Model
A good mental model is:
| Azure DevOps concept | Role |
|---|---|
| Organization | Top-level account/container |
| Project | Main boundary for a product/team/application |
| Team | View/configuration layer over project work |
| Boards | Plan and track work |
| Work Items / Issues | Units of work |
| Repos | Store source code |
| Pull Requests | Review and merge code |
| Pipelines | Build, test, and deploy |
| Artifacts | Store build outputs or reusable packages |
| Wikis | Document the project |
| Dashboards | Visualize status and metrics |
| Test Plans | Manage manual/structured testing |
| Environments | Deployment targets with approvals/checks |
| Service Connections | Secure links to external/cloud systems |
The most important relationship is:
Work Items describe what needs to change.
Repos contain the code changes.
Pull Requests review those changes.
Pipelines validate and deploy those changes.
Artifacts package those changes.
Dashboards report on the state of everything.
Wikis document how and why things work.
In short:
Organization
└── Project
├── Plan work with Boards
├── Write code in Repos
├── Validate/deploy with Pipelines
├── Share packages with Artifacts
├── Document with Wikis
└── Monitor with Dashboards