Is it possible to change dashboard layout with Cloud REST API?

I can create a dashboard and add gadgets to it using the Cloud REST API, but there doesn’t seem to be an API for updating the dashboard’s layout.

The default layout of a dashboard seems to be 2-column and Cloud REST API disallows adding a gadget at position (row: 0, column: 2).

How can I change the layout of a dashboard?

There is this set property API:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-dashboardid-items-itemid-properties-propertykey-put

But it is unclear what item ID and property key should be, the example provides no list of possible values.

1 Like

Were you able to solve it?

Nope, it seems it is not supported.

I was migrating filters and dashboards from server to cloud (which is not fully supported by the migration assistant plugin). Fortunately only a few dashboards are in the 3-column configuration, so those are fixed manually after migration.