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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Script to Alphabetize Issue Links

As a Jira/Confluence automation initiative, I created a script to alphabetize/sort issue links.

I use it with Tampermonkey and Google Chrome.

It’s a feature I’ve wanted for a while to make it easier to find stories/defects in a release/update. It will click the “Show More” link for you, if you haven’t already clicked it.  It also respects the sub-divisions in the Issue Links.

**I’m using ALT+K as the Keyboard Shortcut to run it, but the shortcut can be anything to trigger, even a button drawn on the page.

Here is the code:

// ==UserScript==
// @Name TinySort for IssueTracker
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Sort Issue Links on IssueTracker Pages
// @author Brock
// @match https://*
// @Grant none
// @require https://cdnjs.cloudflare.com/ajax/libs/tinysort/3.2.5/tinysort.min.js
// ==/UserScript==

(function() {
'use strict';

$(document).keydown(function(e) {
if (e.altKey && e.which == 75) { // Keycode: alt + k
var i = 1;
$("#show-more-links-link").trigger("click");
$( "dl.links-list" ).each(function( index ) {
if ($("dl.links-list:nth-of-type("+i+") > [id^=internal]").length == 0) {
return;
}
tinysort("dl.links-list:nth-of-type("+i+") > [id^=internal]");
i = i + 1;
});
}
});
})();

0 comments

Comment

Log in or Sign up to comment