NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name JIRA-Print-Full-Page // @description Print full issue in Atlassian JIRA // @version 1.0 // @author StealthyDev (https://github.com/StealthyDev) // @license MIT // @include http://jira/browse/* // @icon https://gravatar.com/avatar/b9b26265bf9171d1121093b67a17992d // @run-at document-end // @grant none // ==/UserScript== (function() { var printButton = "\ <li class='toolbar-item'>\ <a id='print-full-page' class='toolbar-trigger viewissue-share' href='#' original-title='Print Full Page'>\ <span class='aui-icon aui-icon-small aui-iconfont-file-image'></span> Print\ </a>\ </li>\ "; $(document.getElementById("opsbar-jira.issue.tools")).append(printButton); $("#print-full-page").click(function(){ $('html, body').css('overflowY', 'auto'); $(".issue-view").css("height", "auto"); window.print(); }); })();