Make JIRA Ticket Links Open Detailed View

Clicking a ticket id on a board opens the detailed ticket view in a new tab

当前为 2016-01-23 提交的版本,查看 最新版本

// ==UserScript==
// @name        Make JIRA Ticket Links Open Detailed View
// @namespace   chriskim06
// @description Clicking a ticket id on a board opens the detailed ticket view in a new tab
// @include     https://*jira*com/secure/*Board*
// @version     1.0.4
// @grant       none
// @locale      en
// ==/UserScript==

function addOnClick() {
  this.setAttribute("onclick", "window.open('" + this.getAttribute('href') + "');");
  this.setAttribute("target", "_blank");
}

document.getElementsByClassName('js-key-link').addEventListener('click', function() {
  console.log("******HERE******");
  console.log(this.tagName);
  this.setAttribute("onclick", "window.open('" + this.getAttribute('href') + "');");
  this.setAttribute("target", "_blank");
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址