Last active
November 18, 2016 21:49
-
-
Save petedoyle/254f2f60c4c05334b1341379b488c757 to your computer and use it in GitHub Desktop.
JIRA Release notes script (formatted for Slack)
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
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample output