Forums

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

Get custom JQL from a gadget in a dashboard via API

Asier Vadillo August 14, 2025

So I want to get the custom JQL of every gadget in every dashboard. I hoped that the endpoint https://your-domain.atlassian.net/rest/api/3/dashboard would be enough, but it is not.
I then tried https://your-domain.atlassian.net/rest/api/3/dashboard/10201/gadget, but it only gives you the ID, title, position, etc. of the gadget — not really useful information.

Is there any way to get this info?

My main objective is to check if there is a dashboard that uses a custom JQL with the name of a status that has been changed. We have a lot of dashboards, and it’s not viable to search through each one manually for this information.

Thanks in advance!

2 answers

0 votes
Lucas Knorr
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2025

Hi @Asier Vadillo

Since most gadgets are based on filters, you should query filters instead of dashboards, as the gadgets typically use filters saved in the system.

You can query the filters via this endpoint. As an admin, you’ll be able to access all filters by providing the overrideSharePermissions parameter.

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2025

Hi @Asier Vadillo 

Reviewing the rest API inside of Jira Cloud, it shows that there is no single way to get this information.

To do this, you first need to call the Get Dashboard Gadgets endpoint documented here to return a list of all gadgets on the dashboard and to store their ID's in a variable.

You then need to call the Get Dashboard Item Property Key for each ID using the property key of config to get details of the configuration of each dashboard gadget and if it has a filterId in its config, then you can extract this to update.

I hope this information helps.

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