Azure DevOps release notes missing work items: 5 fixes
Michael Thomsen
· Updated ·5 min read
Short answer: First check whether the missing work item ID is associated with the source build. If it is absent there, investigate linking and the comparison range. If it is present but absent from the document, check the generating identity, work item selection and template rules. A release notes task cannot render items its configured source did not retrieve.
Use one missing ID and one correctly included ID as controls. Compare them at each boundary below instead of changing merge policies or replacing a task on the basis of an empty document.
Five checks to locate the missing items
| Check | Evidence to compare | What to fix |
|---|---|---|
| 1. Build associations | Run summary and the missing work item ID | Links to the actual commits or pull requests in the build |
| 2. Comparison scope | Build, branch, artifact and baseline | Source and release boundary |
| 3. Identity and permissions | Same query as user and pipeline identity | Read access to the source project and area |
| 4. Task selection | Retrieved IDs and selected work item types | Query, parent resolution or type filters |
| 5. Template rules | Retrieved items versus rendered sections | Labels, fields and template syntax |
1. Check the source build, not just the work item's links
Open the run summary and inspect its associated work items. For an API-level check, use the Build Work Items endpoint for that exact build ID. A link to a pull request somewhere in the work item's history does not establish that it belongs to this build.
Microsoft's pipeline and work tracking integration guide describes different calculations for the first build and subsequent builds. Subsequent builds use the current commit and the last successful build of the same source branch to determine the intervening work.
Check the commits that actually reached the target branch after a squash or rebase. Do not assume that a merge strategy always loses work items, or change the team's branch policy before verifying the associations. A small build work item list alone does not prove a change-count limit was reached.
2. Check the comparison range and source artifact
A build-to-build comparison is not necessarily a release-to-release comparison. A work item may have appeared in an earlier successful build but still be part of today's customer release. A deployment-only pipeline also needs a source artifact or another explicit work item source.
In Bravo Notes, a release pipeline's default source uses the primary source build artifact and associated source builds since the previous successful release. The task also has environment comparison options. Verify the environment, branch and previous successful release you are comparing with; these do not establish that every selected change is enabled for customers.
If the release boundary is a version field rather than deployment history, use a saved query for that version. A closed-date window is useful for a status digest, but it can omit older work shipped now or include work not yet deployed.
3. Test access as the generating identity
A query that works in your browser can fail or return a different selection in a pipeline. Check read access for the build service identity to the source project and work item's area path, especially with cross-project work.
Investigate job authorization scope before broadening permissions. Grant the required access to the specific identity and resource; disabling organization-wide restrictions is not the default fix. Publishing permissions are a separate boundary: a Wiki write failure does not mean that source work items were missing.
4. Check the task's selection and type resolution
Review the source option, query and selected work item types in the task. The Bravo Notes build task reference distinguishes all directly associated work items from selected-type resolution, which can look for parent work items of the chosen types. A list of tasks and a list of their parent user stories are different outputs.
For a query source, run the saved query and check the missing ID directly. Confirm state names, area paths, release fields and tags. Closed, Done and Resolved do not mean the same thing in every process.
5. Isolate the template from the source
If the item was retrieved but is not printed, temporarily use a diagnostic template without sections:
# Source check
{{#workItems}}
- {{ id }}: {{ field 'Title' }} ({{ field 'State' }})
{{/workItems}}
If the ID appears, restore the real template one section at a time. Check label names, label conditions and field reference names. A section for bugfix will not include a Bug unless its saved label rules match. Templates from another release-notes tool may use different objects even when both use Handlebars-style syntax.
Choose a source that matches the release
The documented Bravo Notes sources include associated work items, a starting-commit comparison, release or YAML environment comparisons, a query, an iteration and a JSON file of IDs. Choose from the options supported by your installed task, rather than assuming every source exists in every tool.
- Build associations: appropriate when the desired document follows the build's linked work.
- Environment comparison: appropriate when deployment history defines the boundary; verify the baseline.
- Release query: appropriate when a product or release field identifies the intended shipment.
- Iteration: appropriate for a sprint report, not proof that those items shipped.
For the reusable template and export workflow, see release notes for Azure DevOps. Once the selection is correct, use the publishing guide for destination permissions. For external readers, store reviewed customer wording in a separate field.
Frequently asked questions
Does increasing the API's requested item count recover missing work items? No. A larger requested result count does not create missing associations or change the comparison baseline. Inspect the source build and linking first, then check the endpoint's limits for your Azure DevOps version.
Can I select release notes without linked commits? Yes. A query selects work items by their fields instead of commit associations. Keep links for traceability if your team needs them, and review the query against the actual release scope.
Why does the work item appear in the diagnostic template but not the real one? The source retrieved it. Check section labels, type filters, conditions and referenced fields in the real template. Fix the selection rules rather than manually inserting the item into the exported document.
Can the same Bravo Notes template be used manually and in a pipeline? Yes. The saved template and label rules can be reused. Check both the manual selection and the pipeline source; sharing a template does not guarantee they receive the same items.
Summarize this article