Show customfield IDs in Jira screen editor

This enhances the JIra screen editor by also showing the field IDs in addition to the name as the name is not required to be unique.

// ==UserScript==
// @name         Show customfield IDs in Jira screen editor
// @namespace    http://schuppentier.org/
// @version      1.0
// @description  This enhances the JIra screen editor by also showing the field IDs in addition to the name as the name is not required to be unique.
// @author       Dennis Stengele
// @match        https://*.atlassian.net/secure/admin/ConfigureFieldScreen.jspa*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=atlassian.net
// @require      https://bowercdn.net/c/arrive-2.4.1/minified/arrive.min.js
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    document.arrive("div#screen-editor tr.aui-restfultable-readonly", function() {
        const fieldId = this.getAttribute("data-id")
        const cell = this.querySelector("td.field-name-cell")
        const newValue = `${cell.textContent} (${fieldId})`
        cell.textContent = newValue
    })
})();

QingJ © 2025

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