Last active
December 31, 2019 06:12
-
-
Save pineoc/7ddeb20afbbe8c374fb5da321f8ae93e to your computer and use it in GitHub Desktop.
Jira Project check js scripts
This file contains hidden or 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
// View Field Configuration page | |
// https://jira.example.com/secure/admin/ConfigureFieldLayout!default.jspa?id=xxxxx | |
var tbodyRows = document.querySelector("#field_table tbody").rows; | |
var tbodyArr = Array.prototype.slice.call(tbodyRows); | |
// used field | |
var usedField = tbodyArr.filter(e => { | |
return e.cells[2].innerText.indexOf("Hide") != -1; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment