Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can i collapase all sprints?

When I clear my cache and return to Jira all sprints are open. How can I collapse ALL. VERRRRRRRRY annoying to have to do this for individual sprints everytime rather than collapse ALL.

3 answers

Hi, here's what has worked for me:

* In Jira, go to the Sprint Backlog view (the one that lists all the sprints)

* Open the Inspect tool (I've used this in Chrome, didn't test in another browser) - to do this, just right-click on the page and select Inspect from the menu

* Go to the Console tab in the tool

* Type (paste) this: document.body.innerHTML = document.body.innerHTML.replace(/ghx-open/g, "ghx-closed") and press Enter; this will cause all the sprints to become collapsed

* If you want to expand them all, type document.body.innerHTML = document.body.innerHTML.replace(/ghx-closed/g, "ghx-open")


I hope it helps ;)

Unfortunately, this has the limitation of making the buttons on the page no longer functional or not functioning properly. For instance, when pressing the sprint "..." button to reach the menu that allows moving the sprint up or down, I get a screen with this text:

{"id":820,"sections":[{"groupId":"sprint-update-action","actions":[{"id":"gh-sprint-update","name":"Edit sprint","url":"/jira","styleClass":""}]}]}


If anyone knows how to solve this, I would really appreciate a suggestion. Thanks a lot!

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 06, 2018 • edited

Hello Linda,

Thank you for raising this question.

I completely agree with you that a button to collapse all Sprints would be very useful for some teams.

Unfortunately, JIRA does not have this functionality on Cloud, that's why we have opened the following feature request with our development team: 

Collapse/Expand All button to collapse or expand all sprints in the Backlog

Please, vote and watch the feature request in order to increase its priority and also be aware of any updates.

Please, let me know if I can help you with anything else, Linda.

My Jira use to open in "collapse" mode, but two weeks ago, now opens in "Expand".  It is not good, and it is ugly. (I am using Jira Server)

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 06, 2018

Hello Linda and welcome to the Community!

Your frustration on the inability to be able to collapse all sprints is not alone. The good news is there is a feature request to have this ability added to Jira. You can find the feature request at JSWCLOUD-11198, we would urge you to vote and watch this request for future updates. There is also a request for Jira server at JRASERVER-66690.

As it stands, there is no work around (other than manually collapsing all sprints).

Stephen Sifers

Suggest an answer

Log in or Sign up to answer