Created
October 23, 2014 14:08
-
-
Save yannickoo/6636c8b9db336263b96a to your computer and use it in GitHub Desktop.
Display ticket IDs in Jira's subtask table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$('head').append('<style>.bookmarklet-issue-id {color: #fff; background: #3b73af; padding: 1px 2px; border-radius: 5px;}</style>'); | |
$('.subtask-table-container tbody > tr.issuerow').each(function() { | |
var $this = $(this); | |
var $id = $this.data('issuekey'); | |
var $firstRow = $this.children('td:first'); | |
$firstRow.after('<td><pre class="bookmarklet-issue-id">' + $id + '</pre></td>'); | |
}); | |
}(jQuery)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment