Last active
August 29, 2015 14:12
-
-
Save eiel/6262e13f3647d358719b to your computer and use it in GitHub Desktop.
特定のマイルストーンのIssueの一覧を取得する ref: http://qiita.com/eielh/items/6890b18974180deb5c61
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 'octokit' | |
def issues_filter_milestone(repo, name) | |
number = Octokit.list_milestones(repo).select do |milestone| | |
milestone.title == name | |
end.first.number | |
Octokit.list_issues(repo, milestone: number) | |
end | |
issues_filter_milestone("great-h/great-h.github.io","20141224") |
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
Octokit.list_issues(repo, milestone: number) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment