扩展 Rally 自定义网格行以自动显示任务

Expanding Rally Custom grid rows to show task automatically

我正在使用自定义网格在仪表板小部件上显示我的故事。我也想在故事中看到我的任务。除非我手动单击小三角形图像和展开行以显示故事下的任务,否则无法完成此操作。有没有办法通过设置或 tampermonkey 之类的脚本自动执行此操作?

我能够使用 tampermonkey 实现这一目标!

// ==UserScript==
// @name         Expand Rally Tasks
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       Main Shayar Badnam
// @match        https://rally1.rallydev.com/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    setTimeout(
        function () {
            $('.x4-tree-elbow-img.x4-tree-elbow-plus.x4-tree-expander').click();$('.x4-tree-elbow-img.x4-tree-elbow-end-plus.x4-tree-expander').click();
        }
        ,2000
    );
    $().ready();
})();