Skip to content

Instantly share code, notes, and snippets.

@falsefalse
Created August 1, 2011 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save falsefalse/1117913 to your computer and use it in GitHub Desktop.
Save falsefalse/1117913 to your computer and use it in GitHub Desktop.
// swap name and last name in JIRA
// that way is convenient to find people as you type
Array.prototype.forEach.call($('#assignee option[value!=-1]'), function(o) {
var t = o.innerText;
o.innerText = t.split(' ').reverse().join(' ');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment