Forums

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

Is it possible to expand and collapse all gadgets on a dashboard?

jira_learner
Contributor
July 16, 2025

Hello all,

Just wondering if it is possible to expand and collapse all gadgets on a dashboard?

Screenshot 2025-07-17 100714.png

This function can come in handy when I review my dashboard with the team one gadget at a time. Once everything is set up, I don’t have to expand each gadget individually—I can expand all of them in one go.

4 answers

1 accepted

2 votes
Answer accepted
Utkarsh Agarwal
Community Champion
July 17, 2025

Hi @jira_learner 

There used to be a suggestion which was closed due to low engagement: https://jira.atlassian.com/browse/JRACLOUD-24339 

Currently, there’s no bulk expand/collapse, but you can simplify the view by switching to a single-column layout, splitting gadgets across multiple dashboards, or using apps like Rich Filters for tabbed/grouped views as an alternative.

Hope this helps!

Kind Regards
Utkarsh

2 votes
Dwight Holman
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.
July 16, 2025

No - there is no built-in feature in Jira to do this. Neither could I find a marketplace apps to add this feature.

If have a paid-plan you could make a product suggestion.

0 votes
Bernhard Baumgartner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2025

There's no out-of-the-box solution, but looking at the page I created a bookmark "Jira - Toggle Dashboard Gadgets" that invokes some JavaScript which toggles the gadgets. It's not really elegant, if Atlassian decides to change the markup the script will break and needs adjustment. But even if they change the markup with a future release, it's super simple to adjust the script to whatever HTML they decide to spit out. 


EDIT: in the following two code snippets, replace ":" simply with a real colon ":" For very good reasons they do not allow me to trigger javascript functions when you open this page/thread :-)


My oneliner bookmark URL atm is as follows:

javascript:(function(){document.querySelectorAll('div[id^="gadget-title"]').forEach((div)=>{const btn=div.querySelector("button");if(!btn){return;}btn.click();});})();

 Beautified version:

1: javascript: (function() {
2: document.querySelectorAll('div[id^="gadget-title"]').forEach((div) => {
3: const btn = div.querySelector("button");
4: if (!btn) {
5: return;
6: }
7: btn.click();
8: });
9: })();

Explanation:

  • Line 2: get all DIVs with an ID starting with "gadget-title" and iterate over them
  • Line 3: find the very first button in that DIV
  • Line 4-6: check if you found a button in that DIV. Yes you need to check, in the current Jira version I'm getting two DIVs with the same ID for each gadget, see explanation with screenshot at the bottom
  • Line 7: if we found a first button in a "gadget-title*" DIV, then let's assume without further checks that it is indeed the expand/collapse button. So let's trigger a click.

Explanation referring to the screenshot below:

  1. That's the main gadget DIV
  2. We're going after this button, it's currently the first one in the main gadget DIV
  3. This is the other DIV with the same ID and the reason why we need to have the check in lines 4-6 in place, otherwise our script breaks on the first gadget it processes.

2025-10-15_21h50_41.png

0 votes
jira_learner
Contributor
August 20, 2025

Thank you for the replies. 

 

I will sort them manually.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events