Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API call to make a dashboard as favorite

Hussein Dbouk August 3, 2023

I'm searching for an api call that can mark a dashboard as favorite by its id : as so 
/rest/api/2/dashboard/{dashboardID}/favourite
but the above api call is always returning a 404 status code

1 answer

1 accepted

0 votes
Answer accepted
Hussein Dbouk August 3, 2023

To make a dashboard as favorite on server jira instance use the following api call :
PUT /rest/api/1.0/dashboards/{dashboardId}/favourite

To remove a dashboard from favorites on Jira Server instances use the following api call :
DELTE /rest/api/1.0/dashboards/{dashboardId}/favourite

Make sure to replace {dashboardId} with the id of the desired dashboard

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events