Skip to content

Instantly share code, notes, and snippets.

@byrichardpowell
Created May 12, 2014 10:31
Show Gist options
  • Save byrichardpowell/b9bcf5126f9571245899 to your computer and use it in GitHub Desktop.
Save byrichardpowell/b9bcf5126f9571245899 to your computer and use it in GitHub Desktop.
Tamper monkey: Hide complete JIRA items
// ==UserScript==
// @name Hide Complete JIRA items
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description I find it tricky to distinguish between complete and incomplete items on the planning page of a JIRA sprint. This DIRTY code fades complete items out. You can still hover the items to see what they are.
// @match https://serverdensity.atlassian.net/secure/*
// @copyright 2012+, You
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
var outOpacity = 0.2
$(document).ready(function() {
setTimeout( function() {
$('.ghx-issue-compact.ghx-done').css('opacity',outOpacity).mouseenter( function() {
$(this).css('opacity',1)
}).mouseleave( function() {
$(this).css('opacity',outOpacity)
})
}, 4000)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment