Created
July 26, 2016 00:31
-
-
Save i386/82573c588b6ff03766bc1c8ce8c000ef to your computer and use it in GitHub Desktop.
Converts a JIRA query RSS feed to asciidoc suitable for release notes
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
require 'rss' | |
require 'open-uri' | |
url = 'https://issues.jenkins-ci.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=component+%3D+blueocean-plugin+AND+resolution+%3D+Fixed+AND+resolved+>%3D+2016-07-15+AND+resolved+<%3D+2016-07-22&tempMax=1000' | |
open(url) do |rss| | |
feed = RSS::Parser.parse(rss) | |
feed.items.each do |item| | |
puts "* #{item.link}#{item.title}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment