Search For Dashboards
GET {{baseUrl}}/rest/api/3/dashboard/search?dashboardName=<string>&accountId=<string>&owner=<string>&groupname=<string>&projectId=<long>&orderBy=name&startAt=0&maxResults=50&expand=<string>
Returns a paginated list of dashboards. This operation is similar to Get dashboards except that the results can be refined to include dashboards that have specific attributes. For example, dashboards with a particular name. When multiple attributes are specified only filters matching all attributes are returned.
This operation can be accessed anonymously.
Permissions required: The following dashboards that match the query parameters are returned:
- Dashboards owned by the user. Not returned for anonymous users.
- Dashboards shared with a group that the user is a member of. Not returned for anonymous users.
- Dashboards shared with a private project that the user can browse. Not returned for anonymous users.
- Dashboards shared with a public project.
- Dashboards shared with the public.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
dashboardName | string | String used to perform a case-insensitive partial match with name. | |
accountId | string | User account ID used to return dashboards with the matching owner.accountId. This parameter cannot be used with the owner parameter. | |
owner | string | This parameter is deprecated because of privacy changes. Use accountId instead. See the migration guide for details. User name used to return dashboards with the matching owner.name. This parameter cannot be used with the accountId parameter. | |
groupname | string | Group name used to returns dashboards that are shared with a group that matches sharePermissions.group.name. | |
projectId | string | Project ID used to returns dashboards that are shared with a project that matches sharePermissions.project.id. | |
orderBy | string | Order the results by a field: |
-
descriptionSorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. -
favourite_countSorts by dashboard popularity. -
idSorts by dashboard ID. -
is_favouriteSorts by whether the dashboard is marked as a favorite. -
nameSorts by dashboard name. -
ownerSorts by dashboard owner name. | |startAt| number | | The index of the first item to return in a page of results (page offset). | |maxResults| number | | The maximum number of items to return per page. | |expand| string | | Use expand to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: -
descriptionReturns the description of the dashboard. -
ownerReturns the owner of the dashboard. -
viewUrlReturns the URL that is used to view the dashboard. -
favouriteReturnsisFavourite, an indicator of whether the user has set the dashboard as a favorite. -
favouritedCountReturnspopularity, a count of how many users have set this dashboard as a favorite. -
sharePermissionsReturns details of the share permissions defined for the dashboard. |
RESPONSES
status: OK
{"self":"https://your-domain.atlassian.net/rest/api/3/dashboard/search?expand=owner\u0026maxResults=50\u0026startAt=0","maxResults":100,"startAt":0,"total":2,"isLast":true,"values":[{"description":"Testing program","id":"1","isFavourite":true,"name":"Testing","owner":{"self":"https://your-domain.atlassian.net/user?accountId=5b10a2844c20165700ede21g","displayName":"Mia","active":true,"accountId":"5b10a2844c20165700ede21g","avatarUrls":{"32x32":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32\u0026s=32","16x16":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16\u0026s=16","48x48":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48\u0026s=48","24x24":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24\u0026s=24"}},"popularity":1,"self":"https://your-domain.atlassian.net/rest/api/3/dashboard/1","sharePermissions":[{"type":"global"}],"view":"https://your-domain.atlassian.net/Dashboard.jspa?selectPageId=1"},{"description":"Quantum initiative","id":"2","isFavourite":false,"name":"Quantum ","owner":{"self":"https://your-domain.atlassian.net/user?accountId=5b10a2844c20165700ede21g","displayName":"Mia","active":true,"accountId":"5b10a2844c20165700ede21g","avatarUrls":{"32x32":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32\u0026s=32","16x16":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16\u0026s=16","48x48":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48\u0026s=48","24x24":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24\u0026s=24"}},"popularity":0,"self":"https://your-domain.atlassian.net/rest/api/3/dashboard/2","sharePermissions":[{"type":"loggedin"}],"view":"https://your-domain.atlassian.net/Dashboard.jspa?selectPageId=2"}]}