Created
August 9, 2023 11:22
-
-
Save CodeBrauer/e3d59aebd885c8b60a86818a02842dc3 to your computer and use it in GitHub Desktop.
In Jira Kanban boards own cards are highlighted yellow-ish to find your cards faster!
This file contains 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
// ==UserScript== | |
// @name Jira highlight my kanban cards | |
// @namespace Violentmonkey Scripts | |
// @match https://*.atlassian.net/jira/software/c/projects/*/boards/* | |
// @grant none | |
// @version 1.0 | |
// @author CodeBrauer | |
// @description In Jira Kanban boards own cards are highlighted yellow-ish to find your cards faster! | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let userName = document.querySelector('.ghx-content-main meta[name="ajs-remote-user-fullname"]').getAttribute('content'); | |
setInterval(function() { | |
document.querySelectorAll('.ghx-issue [alt="Assignee: ' + userName + '"]').forEach(function(avatar) { | |
avatar.closest(".ghx-issue").style.backgroundColor = '#ffe1a2' | |
}); | |
}, 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment