The task: (using GitHub API) 1) get all closed milestones for a given repo 2) get all issues for that milestone 3) for every issue get it's description 4) finally, using Markdown for example, create a page for PM to view
I'm using Python 3.5, using lib github3.py, I got 1&2 but having trouble with #3. Looking at the GitHub documents, I'm not sure it supports retrieving the description of an issue.
I'm looking at this API document: https://developer.github.com/v3/issues
My question is, can #3 be done? Am I missing anything?
Thank you. What I have so far is this:
g = github3.login(token='123...')
r = g.repository(owner='owner', repository='services')
for m in r.milestones(state='closed'):
print(m.as_json()) # this works giving me all the milestones
for i in r.issues(milestone=5, state='closed'):
print(i.pull_request()) # works giving me all the pull requests from here