Hi there,
so I want to copy a dashboard using REST API
(https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-id-copy-post)
Showing the dashboard using REST API works nicely.
Creating new filters and changing the permission using REST API works as well.
But copying a dashboard produces the following error:
curl --location --request POST 'https://jira.xxx.com/rest/api/latest/dashboard/24765/copy' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Basic xxx' \
--data-raw '{
"name": "some name",
"description": "some description",
"sharePermissions": [
{
"type": "project",
"project": {
"id": "13831"
}
}
]
}'
Note: Your browser does not support JavaScript, Press Continue to proceed...
So I played around with the payload, especially that sharePermissions part, but I got similar errors.
Help me?
Marco Schmitz
Hi @[deleted] -- Welcome to the Atlassian Community!
That REST API call looks to be marked as "experimental", so you may want to search and perhaps repost your question in the developer community forum to get some ideas to help:
https://community.developer.atlassian.com/search?q=copy%20dashboard
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.