Created
July 11, 2013 18:07
-
-
Save jmakeig/5977750 to your computer and use it in GitHub Desktop.
MarkLogic BugTrack automation: Sets the status and fix-in versions. Seems to only work on the Chrome JavaScript console that makes a $ selector function available.
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
function sel(name, val, $) {Array.prototype.slice.call($("select[name="+name+"]").options).forEach(function(opt) {if(opt.value === val) opt.selected = true;})}; sel("status", "will not fix", $); sel("new-fix-in-version", "", $); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment