provider Dashboards PUT /rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}
@utdk/jira /rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}
Update gadget on dashboard
Changes the title, position, and color of the gadget on a dashboard. **[Permissions](#permissions) required:** None.
dashboardId path required
The ID of the dashboard.
integer
gadgetId path required
The ID of the gadget.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updategadget
PUT/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}
Changes the title, position, and color of the gadget on a dashboard. **[Permissions](#permissions) required:** None.

Parameters

required

The ID of the dashboard.

required

The ID of the gadget.

Input

The color of the gadget. Should be one of `blue`, `red`, `yellow`, `green`, `cyan`, `purple`, `gray`, or `white`.

The position of the gadget.

The title of the gadget.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.updategadget()