Skip to content

Instantly share code, notes, and snippets.

@petedoyle
Last active November 18, 2016 21:49
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 petedoyle/254f2f60c4c05334b1341379b488c757 to your computer and use it in GitHub Desktop.
Save petedoyle/254f2f60c4c05334b1341379b488c757 to your computer and use it in GitHub Desktop.
JIRA Release notes script (formatted for Slack)
var output = "\n";
$('tr.issuerow').each(function(index) {
issuerow = $(this);
var key = issuerow.find('td.issuekey a.issue-link').data().issueKey;
var summary = issuerow.find('td.summary a.issue-link').text();
var type = issuerow.find('td.issuetype img').attr('alt');
output += "* " + key + " " + summary + "\n";
});
console.log(output);
null;
@petedoyle
Copy link
Author

Sample output

* BOB-2230 [Android] Setup should default a pet's timezone to the phone's current timezone
* BOB-2195 [Android] Pet Setup - Upload/Take Photo crashes
* BOB-2034 [Android] Help - Contact Customer Support link
* BOB-1901 [Android] Update app to point at official Google Maps API keys
* BOB-1777 [Android] Direct Zendesk Help Center to Twixie 
* BOB-1185 [Android] Help - Zendesk Help Center

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment