Azure DevOps to Azure DevOps: process models and mapping work item types, states and fields
Work items only land cleanly in another Azure DevOps organisation if the target process defines their types, states and fields. How the three process models differ, what rule bypass does not do, and a mapping method.
Work items from one Azure DevOps organisation only land cleanly in another if the target project's process already defines every work item type, workflow state and field those items use, or if a mapping says what each one becomes. The rule-bypass switch that migration tools rely on to keep original dates and authors does not close that gap: it turns rule evaluation off, it does not add definitions to a process.
This post is for the engineer merging organisations or moving an Azure DevOps Server collection into an existing Azure DevOps Services organisation. It covers the three process models, the documented limits, what the API does when a definition is missing, and a mapping method. For the wider programme (identity, IDs, pipelines), start with why same-tool Azure DevOps consolidations are deceptively hard.
TL;DR
- Azure DevOps has three process models: Inheritance (web portal), Hosted XML (only for organisations that came through the Data Migration Tool) and On-premises XML (Azure DevOps Server only).
- A process defines work item types, fields, workflow states and rules. Area and iteration paths are per project, outside the process.
- Every workflow state belongs to a state category. Backlogs, boards and widgets read the category, so a state mapping should preserve it.
bypassRules=trueskips rule enforcement and needs the project-level permission "Bypass rules on work item updates". It does not create a missing type, state or field.- Microsoft's Data Migration Tool validates the process of every project before a Server collection can move, and it only moves one collection into one new organisation.
- The method: inventory what is in use, diff source against target, decide per difference (map, add to the target process, or drop with a record), then validate.
- Shyftport applies operator-configured type, state and field mappings during revision replay. It does not customise the target process or suggest mappings.
Which process models exist, and where?
Microsoft's process model comparison describes three models, and the model decides both how customisation is done and which migration routes exist.
| Model | Where it exists | How it is customised |
|---|---|---|
| Inheritance | Azure DevOps Services; Azure DevOps Server collections created with it | "Supports visual customization in the web portal" |
| Hosted XML | Azure DevOps Services | Import and export of process templates |
| On-premises XML | Azure DevOps Server | Import and export of XML definition files |
Two constraints matter for a consolidation. First, the Hosted XML model "is only supported for organizations that migrate to Azure DevOps by using the data migration tool", so an ordinary target organisation is on Inheritance. Second, on Azure DevOps Server the model is chosen per collection, the choice "is irreversible", and "existing project collections using the On-premises XML process model can't be migrated to the Inheritance process model".
So when the target is an existing Azure DevOps Services organisation, no XML definition travels with the work items: whatever the source expressed in XML has to exist in an inherited process on the target, or be mapped away.

What does a process define?
An inherited process is derived from one of four system processes. Microsoft's inheritance overview says the system processes Agile, Basic, Scrum and CMMI "are locked, and users can't change them". The four differ mainly in their work item types; the default processes page lists them side by side (Issue in Basic, User Story in Agile, Product Backlog Item in Scrum, Requirement in CMMI).
Area and iteration paths are not in the process: they "are configured for each project and aren't customizable through an inherited process", so path mapping is a separate decision.
State categories
Each workflow state is assigned to a state category. The state categories reference explains that "Azure Boards uses state categories to apply workflow behavior consistently across backlogs, boards, and widgets". Proposed states map to the first board column, Completed states drop off the backlog, and for the Completed category "Each work item type can have only one state mapped to this category". A state mapping that crosses categories changes what boards and charts show for old items.
Fields, reference names and picklists
Fields are organisation-scoped. The inheritance overview states: "Field names and definitions apply to the entire organization." The work item fields reference adds that the reference name "is permanent and can't be changed once set", that a field "can have only one type defined within a project collection", and that a custom field added to an inherited process gets "a reference name prefixed with Custom", for example Custom.DevOpsTriage. You also "can't change a field name or data type once you define it".
For a merge this means a same-named custom field with a different data type on each side is a structural collision, and field mapping has to be written against reference names, not labels. The inherited model also cannot "import or define a global list as supported by the Hosted XML and On-premises XML process models", so global lists from an XML source become picklists you define by hand.
Each work item type also carries system rules, and the overview gives the example that matters for migration: "several rules copy the current user identity to the Changed By field when a work item is modified".
What are the documented limits of a target process?
Source fields and states can be added to the target process within limits. Microsoft's work tracking limits page lists these maximums for Azure DevOps Services:
| Object | Inheritance | Hosted XML |
|---|---|---|
| Work item types per process | 64 | 64 |
| Fields per organisation | 8192 | 8192 |
| Fields per process | 1024 | 1024 |
| Fields per work item type | 1024 | 1024 |
| Workflow states per work item type | 32 | 16 |
| Picklists per organisation | 2048 | not listed |
One caution: two Microsoft pages disagree on fields. The limits page (dated 2026-09-10) gives the 1024 figures above, while the inheritance overview (dated 2025-11-05) says "A maximum of 64 fields can be defined for each WIT and a maximum of 512 fields can be defined per process". The limits page points to an Object Limit Tracker, so check real headroom there before adding many fields.
How is a project assigned a process, and can it change?
A project gets its process when it is created. Whether it can change afterwards is described inconsistently on Microsoft Learn: the default processes page says "You can't change a project's base process after the project is created", while the procedure pages for the Inheritance model document exactly such a change. The process management guide allows the change "as long as you don't have any undeleted work items of a custom work item type that isn't also defined in the target process", and notes that custom fields missing from the new process keep their data but "are locked from changes and appear as read-only values".
The Scrum to Agile procedure is Microsoft's own description of a type and state mapping. After the wizard, the remaining steps are manual: update each board's column-to-state mapping, change Product Backlog Item to User Story and Impediment to Issue, and bulk update the Scrum states Approved, Committed and Done to the Agile states Active, Resolved and Closed. A cross-organisation migration makes the same decisions in a mapping.
What happens when the type, state or field is missing on the target?
Type. The create call addresses the type in its path: POST https://dev.azure.com/{organization}/{project}/_apis/wit/workitems/${type}. There is no item to create for a type the target project does not have, so every source type needs either a target type or a decision to leave it out.
Rules, states and values. The Work Items - Update reference describes bypassRules as "Do not enforce the work item type rules on this update". The permissions reference describes the matching project-level permission, "Bypass rules on work item updates", as letting a user "save a work item that ignores rules, such as copy, constraint, or conditional rules", and names the intended use: "migrations where you don't want to update the by/date fields on import". The rule reference confirms the permission is project-level.
What bypass does not do is validate or repair. Microsoft's sample request for a bypassed update writes the string "Invalid Value" into System.AssignedTo and the sample response returns it stored as sent. Microsoft publishes no such example for System.State, so the next step is an inference, not documented behaviour: a bypassed write carrying a state name the target workflow does not define may likewise be stored as sent instead of rejected. Such an item would hold a state with no category in the target process and no board column (the state categories page notes that a state not mapped to a column "doesn't appear on the board"). Rule bypass raises the stakes for state mapping, so confirm the real behaviour on a pilot item first.
Fields. A field has to be defined in the organisation and added to the work item type in the process before it means anything on the target. Nothing in the parameter or permission descriptions lets a write define a field. The reference does not spell out the response for an unknown reference name, so test rather than assume: the same endpoint accepts validateOnly=true, documented as "Indicate if you only want to validate the changes without saving the work item".

Without the permission, system rules stamp the calling identity into Changed By, which is the flattened history described in what survives of work item history in a migration.
What does Microsoft's Data Migration Tool require, for contrast?
Microsoft's tool for moving an Azure DevOps Server collection into Azure DevOps Services gates on process compatibility. According to the validation guide, the tool "determines the target process model for each project": Inheritance if the project "was created with the Agile, Scrum, or Capability Maturity Model Integration (CMMI) process template and was never customized", Hosted XML "if the project process appears to be customized". Validation errors are logged, and the instruction is explicit: "Fix all process errors found to proceed with your migration".
The migration overview adds that the tool "creates a Hosted XML process for each customized team project", that it can only "lift and shift" one collection "to one new Azure DevOps Services Organization, with no modifications", and that moving projects between two Azure DevOps Services organisations is an unsupported scenario.
A method: inventory, diff, decide, validate
1. Inventory what is actually in use
Read the definitions per project on both sides. The Work Item Types list call returns each type with its fields and states, the states call returns the category of every state, and the fields call with $expand=all adds allowed values:
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes?api-version=7.1
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}/states?api-version=7.1
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}/fields?$expand=all&api-version=7.1
To see what is actually in use, count items per type and state with the Analytics OData feed, using the aggregation syntax Microsoft documents:
https://analytics.dev.azure.com/{OrganizationName}/_odata/v2.0/WorkItems?
$apply=groupby((WorkItemType, State), aggregate($count as Count))
For a custom field, a WIQL query shows which items currently hold a value. The response lists work item references (ID and URL), not field values, and the limits page caps query results at 20,000 items on Azure DevOps Services, so narrow by type or date when a project is large:
POST https://dev.azure.com/{organization}/{project}/_apis/wit/wiql?api-version=7.1
{
"query": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @project AND [Custom.RiskLevel] <> ''"
}
A type with no items, a state nobody used and a field that holds no values do not need a mapping, so remove them from the diff before deciding anything.
2. Diff and decide per difference
| Difference found | Map to an existing target definition | Add to the target process | Drop with a record |
|---|---|---|---|
| Source type missing on target | When a target type plays the same role (Product Backlog Item to User Story) | When teams will keep using the type after the move | When no items of that type are in scope |
| Source state missing on target type | When a target state exists in the same category | When the distinction is still used in reporting; mind the 32 state limit and the single Completed state | Not an option for a state in use: every item needs a state |
| Custom field missing on target | When a target field has the same meaning and data type | When the data is still needed and the name is free in the target organisation | When the field is unused or obsolete; keep the source value in an export |
| Same field name, different data type | Map onto a differently named target field | Not possible under the same name: field types cannot change | When the values are not worth converting |
"Drop with a record" means noting what was left behind and where its data remains.
3. Map states by category
Here is an illustrative mapping from a Scrum project to an Agile target, with categories taken from Microsoft's state categories reference. Custom.RiskLevel is a made-up field.
| Kind | Source (Scrum) | Target (Agile) | Note |
|---|---|---|---|
| Type | Product Backlog Item | User Story | Same backlog role |
| Type | Impediment | Issue | As in Microsoft's process-change guide |
| State | New (Proposed) | New (Proposed) | Category kept |
| State | Approved (Proposed) | New (Proposed) | Many to one: the distinction is lost unless a custom state is added |
| State | Committed (In Progress) | Active (In Progress) | Category kept |
| State | Done (Completed) | Closed (Completed) | Category kept |
| State | Removed (Removed) | Removed (Removed) | Category kept |
| Field | Microsoft.VSTS.Scheduling.Effort |
Microsoft.VSTS.Scheduling.StoryPoints |
Both are Double fields in the numeric fields reference |
| Field | Custom.RiskLevel |
Mapped, added or skipped | Depends on whether the name and type are free on the target |
This differs on purpose from the sequence in Microsoft's in-place guide, which moves Approved, Committed and Done to Active, Resolved and Closed. That choice shifts Approved items out of the Proposed category. The people who read the boards and reports should choose.
4. Run a validation pass
- Check that every type, state and field reference in the mapping resolves against the target's definitions from step 1.
- Send a sample of mapped items with
validateOnly=trueand without rule bypass, to see which target rules historical data would break. - Confirm the migrating identity holds "Bypass rules on work item updates" on the target project.
- Migrate a pilot scope, then compare counts per type and state on the target with the source counts pushed through the mapping.
- Open a migrated item's History tab and a board: revisions should carry original authors, and items should sit in the expected columns.
How Shyftport handles process differences
Shyftport's Azure DevOps to Azure DevOps path treats the mapping as operator-owned configuration and applies it while replaying history. When a plan is created, the wizard shows a compatibility readout comparing the source and target process and flagging whether the target already holds content. The comparison is based on the process name, so an inherited process whose name does not reveal its base process is reported as differing.
Work item types, states and fields can then be remapped in the plan's Work Items screens: a source type to target type map, value-level state mapping, and field mappings that can copy field to field, map values, write a literal value or skip a field.
In the sample plan below, the type map remaps two source types, Incident to Bug and Issue to Impediment, and leaves the other six (Epic, Feature, User Story, Bug, Task and Test Case) mirrored under the same name.

In the same sample data, the state mapping for the Bug type folds seven source states onto four target states: Triaged goes to New, In Review to Active and Removed to Closed, while New, Active, Resolved and Closed keep their names.

The scope of a run can be set by query, area path, iteration path or work item type, and area and iteration paths can be mapped one to one, flattened, prefixed or rewritten with regex rules. During the run every revision is replayed with its original change date and author, using rule-bypass writes with notifications suppressed. Before a work item run, preflight probes the target to confirm the migrating identity holds the rule-bypass permission, and warns when a type mapping names a type that does not exist or a source type has no counterpart. Authors go through the identity map described in identity mapping across Azure DevOps organisations.
Shyftport can also migrate without customising the target process, because it keeps the source to target id map in its own store instead of requiring a custom field on every target type. Work item sync between two organisations relies on the same store.
The limits:
- Mappings are operator-configured. Shyftport does not suggest type, state or field mappings.
- Preflight warns about type mapping gaps; it does not fix them.
- There is no process-model-specific handling: Inheritance, Hosted XML and On-premises XML sources are treated alike.
- It does not create custom fields or change the target process. What you decide to add, you add yourself before the run.
- Test plans are not migrated; see why Test Plans are the orphan of every Azure DevOps migration.
The full list of what moves on this path is on the capabilities page. If two process definitions do not line up, talk to a Shyftport engineer.
Sources
- Customize your work tracking experience (process model comparison) - Microsoft Learn(accessed 2026-11-10)
- Hosted XML process model - Microsoft Learn(accessed 2026-11-10)
- Process customization and inheritance - Microsoft Learn(accessed 2026-11-10)
- Default processes and process templates - Microsoft Learn(accessed 2026-11-10)
- How workflow category states are used in Azure Boards backlogs and boards - Microsoft Learn(accessed 2026-11-10)
- Work item fields and attributes - Microsoft Learn(accessed 2026-11-10)
- Work tracking, process, and project limits - Microsoft Learn(accessed 2026-11-10)
- Create and manage an inherited process (change a project's process) - Microsoft Learn(accessed 2026-11-10)
- Change process from Scrum to Agile - Microsoft Learn(accessed 2026-11-10)
- Default rule reference (bypass rules) - Microsoft Learn(accessed 2026-11-10)
- Security groups, service accounts, and permissions reference - Microsoft Learn(accessed 2026-11-10)
- Work Items - Update (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Work Item Type States - List (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Wiql - Query By Wiql (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Aggregate work tracking data using Analytics - Microsoft Learn(accessed 2026-11-10)
- Azure DevOps Server to Azure DevOps Services Migration overview - Microsoft Learn(accessed 2026-11-10)
- Validate and prepare server environment for migration - Microsoft Learn(accessed 2026-11-10)
- Work Items - Create (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Work Item Types - List (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Work Item Types Field - List (Azure DevOps REST API 7.1)(accessed 2026-11-10)
- Query by numeric fields based on effort, schedules, and story points - Microsoft Learn(accessed 2026-11-10)
FAQ
- Does bypassRules let me write a state or field that does not exist on the target?
- It does not make them exist. Microsoft documents bypassRules as 'Do not enforce the work item type rules on this update', and the matching permission as saving a work item that ignores rules such as copy, constraint or conditional rules. It switches rule evaluation off; it does not add a work item type, a workflow state or a field definition to the target process. Microsoft's own example shows a bypassed write storing the literal text 'Invalid Value' in Assigned To, so a bypassed write can leave bad values behind. Microsoft does not document the outcome for an undefined state or field name, so test it on a pilot item.
- What are the three Azure DevOps process models and where does each exist?
- Inheritance is customised in the web portal and is the default model on Azure DevOps Services; Azure DevOps Server collections can also be created with it. Hosted XML is customised by importing a process template and, per Microsoft, is only supported for organisations that migrated to Azure DevOps Services with the Data Migration Tool. On-premises XML is customised by editing XML definition files and exists only on Azure DevOps Server. An existing Server collection on the On-premises XML model cannot be migrated to the Inheritance model.
- How many custom fields and states can an inherited process hold?
- Microsoft's limits page for Azure DevOps Services lists 1024 fields per process, 1024 fields per work item type, 8192 fields per organisation, 32 workflow states per work item type, 64 work item types per process, 256 processes per organisation and 2048 picklists per organisation for the Inheritance model (page dated 2026-09-10). Microsoft's inheritance overview (page dated 2025-11-05) instead states a maximum of 64 fields per work item type and 512 per process. The two pages disagree, so check your organisation's actual usage in the Object Limit Tracker before adding many fields to a target process.
- Can Shyftport create missing custom fields or states on the target for me?
- No. Shyftport remaps work item types, states and fields according to mappings an operator configures, including value-level state mapping, literal values and skipped fields, and its preflight warns when a mapped or unmapped type has no counterpart. It does not change the target process, does not create custom fields, and does not suggest mappings automatically. It can migrate without any target process change because it keeps the source to target id map in its own store.
Related reading
Keeping Azure Boards after moving code to GitHub: AB# links, limits and setup
You can keep Azure Boards when repositories move to GitHub. AB# mentions in commit messages, pull request descriptions and issue descriptions link to work items, a repository connects to one project, and old Azure Repos links stay behind.
Why Bitbucket to GitHub migrations stall, revisited: a year on, what moved and what didn't
Twelve months after the original seven-stall post, an updated field-grade take on where Bitbucket to GitHub programmes actually lose time: pipeline translation, identity, rulesets, OIDC, integration sprawl, LFS, and the audit trail now required to pass a DORA review.
GitHub Universe 2026 recap, part 3: what it changes for teams planning a migration to GitHub
Universe 2026 shipped no migration tooling: GitHub Enterprise Importer, mannequins and the supported sources are unchanged. What moved is the business case, through the Copilot access licence model.