Skip to content

Instantly share code, notes, and snippets.

@sampart
Last active August 29, 2015 14:20
Show Gist options
  • Save sampart/c43b5c35be5610dabdee to your computer and use it in GitHub Desktop.
Save sampart/c43b5c35be5610dabdee to your computer and use it in GitHub Desktop.
Bookmarklet for copying information about selected JIRA task
selectedItem = jQuery('div.ghx-selected');itemId = selectedItem.find('a').attr('href').replace('/browse/', '');itemText = selectedItem.find('.ghx-inner').text();harvestText = itemId + ': ' + itemText;window.prompt('Put this in Harvest', harvestText);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment