Created
October 23, 2015 16:53
-
-
Save mpenick/40f9ed252d86ba6b80ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import sys | |
| import xml.etree.cElementTree as et | |
| tree = et.ElementTree(file=sys.argv[1]) | |
| print '<html>' | |
| print '<head><title>JIRA issues</title></head>' | |
| print '<body>' | |
| for item in tree.iter('item'): | |
| key = item.find('key').text | |
| link = item.find('link').text | |
| summary = item.find('summary').text | |
| type = item.find('type').text | |
| print '<a href="{}">[{}]</a> {} ({})<br>'.format(link, key, summary, type) | |
| print '</body>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment