AZ-400 · Question #396
Drag and Drop Question You have a project in Azure DevOps named Project that has a release pipeline in Azure Pipeline named ReleaseP1. You need to ensure that when a new release is generated for Relea
The correct answer is Create a query that retrieves the feature and bug fix information.; Create a personal access token (PAT).; Create a PowerShell task in ReleaseP1 that writes the retrieved data to a Markdown file.. To automatically generate release notes containing features and bug fixes, you must first create a Work Item query that filters for the relevant work item types (features and bugs). Then, a Personal Access Token (PAT) is needed to authenticate API calls to Azure DevOps so the Pow
Question
Exhibits
Answer Area
Drag items
Correct arrangement
- Create a query that retrieves the feature and bug fix information.
- Create a personal access token (PAT).
- Create a PowerShell task in ReleaseP1 that writes the retrieved data to a Markdown file.
Explanation
To automatically generate release notes containing features and bug fixes, you must first create a Work Item query that filters for the relevant work item types (features and bugs). Then, a Personal Access Token (PAT) is needed to authenticate API calls to Azure DevOps so the PowerShell script can securely retrieve query results. Finally, a PowerShell task within the ReleaseP1 pipeline calls the Azure DevOps REST API using the PAT, retrieves the query data, and writes the output to a Markdown file - producing the release notes document automatically on each release.
Topics
Community Discussion
No community discussion yet for this question.

