Add existing widget to newly created dashboard through api

prasad k 86 Reputation points
2020-06-26T09:52:24.647+00:00

Hi Team

I have a below requirement

create dashboard with existing widgets in some other dashboard.

Example

Dashboard 1 has widget1 and widget 2

So now i will create Dashboard2 and have to add widget 1 and widget 2

Above requirement through api like
create dashboard through resp api

https://learn.microsoft.com/en-us/rest/api/azure/devops/dashboard/dashboards/create?view=azure-devops-rest-5.1
https://dev.azure.com/{organization}/{project}/{team}/_apis/dashboard/dashboards?api-version=5.1-preview.2

but in above tutorial where i can add existing widget,
Or
please suggest any other approach

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,536 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,416 Reputation points
    2020-06-30T07:28:50.383+00:00

    Hello @prasad k ,

    Just a heads up, Azure DevOps related questions are actively being answered in dedicated forums here:
    https://developercommunity.visualstudio.com/spaces/21/index.html

    0 comments No comments