Reputation: 482
I'm using Azure DevOps dashboards. Is there any way to resize one of the default widgets? I am looking for a way to resize 'Release Pipeline Overview' widget over standard options provided in configuration tab.
Here is some description about mentioned widget:
Upvotes: 2
Views: 1240
Reputation: 482
Thanks for your answer that's cool! And it's almost working as I want. That's true widget size has been changed but content inside still have the same limitations. Any idea how to overcome this one?
Upvotes: 2
Reputation: 19431
resize 'Release Pipeline Overview' widget over standard options provided in configuration tab.
For this issue , you can do it through Update Widget rest api:
PATCH https://dev.azure.com/{organization}/{project}/_apis/dashboard/dashboards/{dashboardId}/widgets/{widgetId}?api-version=5.1-preview.2
Sample request body:
{
"id": "456afb86-ecf6-49cf-bbcc-1ab7d0fc14b2",
"eTag": "1",
"name": "Release Pipeline Overview",
"size": {
"rowSpan": 4,
"columnSpan": 4
},
"settings": "{\"releaseDefinitionId\":1}",
"settingsVersion": {
"major": 1,
"minor": 0,
"patch": 0
},
"dashboard": {
"eTag": "6"
},
"contributionId": "ms.vss-releaseManagement-web.release-definition-summary-widget"
}
You can customize the size in the request body.
Here is my test with postman and the result in dashboard:
Upvotes: 2