Skip to content

Two bookmark scripts to open / close all swimlanes on a YouTrack Board

Notifications You must be signed in to change notification settings

Brianmanden/YouTrackOpenCloseAllSwimlanes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

YouTrackOpenCloseAllSwimlanes

Two bookmark scripts to open / close all swimlanes on a YouTrack Board

Open all swimlanes

  1. Add a Bookmark in your browser and name it OPEN
  2. In the URL field of the bookmark paste the following:
javascript:(function () { const toggles = document.querySelectorAll('.yt-agile-table__row-title__summary__text'); toggles.forEach((toggle, i) => { const lane = toggle.closest('.yt-agile-table__row'); if (!lane) return; const isOpen = !!lane.querySelector('.yt-agile-table__row__cell'); if (!isOpen) { toggle.click(); } });})();
  1. Navigate to your YouTrack Board
  2. Click the OPEN bookmark and all swimlanes opens

Close all swimlanes

  1. Add a Bookmark in your browser and name it CLOSE
  2. In the URL field of the bookmark paste the following:
javascript:(function () { const toggles = document.querySelectorAll('.yt-agile-table__row-title__summary__text'); toggles.forEach((toggle, i) => { const lane = toggle.closest('.yt-agile-table__row'); if (!lane) return; const isOpen = !!lane.querySelector('.yt-agile-table__row__cell'); if (isOpen) { toggle.click(); } });})();
  1. Navigate to your YouTrack Board
  2. Click the CLOSE bookmark and all swimlanes closes

About

Two bookmark scripts to open / close all swimlanes on a YouTrack Board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published