Azure DevOps Confluence Connector provides useful information on the Confluence page about Azure DevOps Work Items, Azure DevOps Queries and Azure DevOps pipeline build status.
Provide rich information about Azure DevOps work items on the Confluence page.
Provide rich information about the results of Azure DevOps saved search queries. You can also display only the result item count or the top N items.
Provide near real-time information about Azure DevOps pipeline status.
You need to make sure the Query/Work Item/Project can be accessed by the user who created the personal access token. See here how to make shared queries.
You can use the query link and parameterize the results.
You can copy the URL from a couple of places:
From the queries list.
2. When the query is opened you can copy the url.
The result may look like this.
Azure DevOps pipeline
Copy the link to the pipeline definition like the one below.
Paste into the Confluence page and observe the pipeline status.
Getting the personal access token
You need to navigate to the Personal Access Tokens page in Azure DevOps.
Create a new personal access token with minimal scope. Currently, the App needs the token to read-only work items information and read-only access to the builds.
Navigate to System → Azure DevOps and enter your personal access token. If the token has expired you need to create a new one and enter it here again.
How to generate personal access token (PAT)
Please follow this official guide from Microsoft.
Navigate to System → Azure DevOps and click
How to get debug logs for the Azure DevOps links App
Enable the debug mode for the namespace
Here is the video on how to do this - https://www.loom.com/share/dbee646231ef4306b15cb6617cdee8cd