{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27","id":27998492,"html_url":"https://github.com/dashofcode/tracker_api/pull/27","diff_url":"https://github.com/dashofcode/tracker_api/pull/27.diff","patch_url":"https://github.com/dashofcode/tracker_api/pull/27.patch","issue_url":"https://api.github.com/repos/dashofcode/tracker_api/issues/27","number":27,"state":"open","locked":false,"title":"Option to retrieve an iteration by its number","user":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"body":"I found myself writing this code in a script and thought it would be good to have as an option. \r\n\r\nSurprisingly it looks like Tracker's API does not support this.","created_at":"2015-01-25T21:37:25Z","updated_at":"2015-01-25T21:37:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27/commits","review_comments_url":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27/comments","review_comment_url":"https://api.github.com/repos/dashofcode/tracker_api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dashofcode/tracker_api/issues/27/comments","statuses_url":"https://api.github.com/repos/dashofcode/tracker_api/statuses/0281ad813a3d96958168c5df5ef802101d59bda1","head":{"label":"sshaw:iteration_by_number","ref":"iteration_by_number","sha":"0281ad813a3d96958168c5df5ef802101d59bda1","user":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"repo":{"id":29831081,"name":"tracker_api","full_name":"sshaw/tracker_api","owner":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sshaw/tracker_api","description":"Ruby Wrapper for Pivotal Tracker v5 API","fork":true,"url":"https://api.github.com/repos/sshaw/tracker_api","forks_url":"https://api.github.com/repos/sshaw/tracker_api/forks","keys_url":"https://api.github.com/repos/sshaw/tracker_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sshaw/tracker_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sshaw/tracker_api/teams","hooks_url":"https://api.github.com/repos/sshaw/tracker_api/hooks","issue_events_url":"https://api.github.com/repos/sshaw/tracker_api/issues/events{/number}","events_url":"https://api.github.com/repos/sshaw/tracker_api/events","assignees_url":"https://api.github.com/repos/sshaw/tracker_api/assignees{/user}","branches_url":"https://api.github.com/repos/sshaw/tracker_api/branches{/branch}","tags_url":"https://api.github.com/repos/sshaw/tracker_api/tags","blobs_url":"https://api.github.com/repos/sshaw/tracker_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sshaw/tracker_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sshaw/tracker_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sshaw/tracker_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sshaw/tracker_api/statuses/{sha}","languages_url":"https://api.github.com/repos/sshaw/tracker_api/languages","stargazers_url":"https://api.github.com/repos/sshaw/tracker_api/stargazers","contributors_url":"https://api.github.com/repos/sshaw/tracker_api/contributors","subscribers_url":"https://api.github.com/repos/sshaw/tracker_api/subscribers","subscription_url":"https://api.github.com/repos/sshaw/tracker_api/subscription","commits_url":"https://api.github.com/repos/sshaw/tracker_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sshaw/tracker_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sshaw/tracker_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sshaw/tracker_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/sshaw/tracker_api/contents/{+path}","compare_url":"https://api.github.com/repos/sshaw/tracker_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sshaw/tracker_api/merges","archive_url":"https://api.github.com/repos/sshaw/tracker_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sshaw/tracker_api/downloads","issues_url":"https://api.github.com/repos/sshaw/tracker_api/issues{/number}","pulls_url":"https://api.github.com/repos/sshaw/tracker_api/pulls{/number}","milestones_url":"https://api.github.com/repos/sshaw/tracker_api/milestones{/number}","notifications_url":"https://api.github.com/repos/sshaw/tracker_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sshaw/tracker_api/labels{/name}","releases_url":"https://api.github.com/repos/sshaw/tracker_api/releases{/id}","created_at":"2015-01-25T21:04:54Z","updated_at":"2015-01-25T21:04:54Z","pushed_at":"2015-01-25T21:32:40Z","git_url":"git://github.com/sshaw/tracker_api.git","ssh_url":"git@github.com:sshaw/tracker_api.git","clone_url":"https://github.com/sshaw/tracker_api.git","svn_url":"https://github.com/sshaw/tracker_api","homepage":"","size":543,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dashofcode:master","ref":"master","sha":"45cd400053fb2f069662d0dd11fbbd22ac34c360","user":{"login":"dashofcode","id":6540037,"avatar_url":"https://avatars.githubusercontent.com/u/6540037?v=3","gravatar_id":"","url":"https://api.github.com/users/dashofcode","html_url":"https://github.com/dashofcode","followers_url":"https://api.github.com/users/dashofcode/followers","following_url":"https://api.github.com/users/dashofcode/following{/other_user}","gists_url":"https://api.github.com/users/dashofcode/gists{/gist_id}","starred_url":"https://api.github.com/users/dashofcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashofcode/subscriptions","organizations_url":"https://api.github.com/users/dashofcode/orgs","repos_url":"https://api.github.com/users/dashofcode/repos","events_url":"https://api.github.com/users/dashofcode/events{/privacy}","received_events_url":"https://api.github.com/users/dashofcode/received_events","type":"Organization","site_admin":false},"repo":{"id":17971112,"name":"tracker_api","full_name":"dashofcode/tracker_api","owner":{"login":"dashofcode","id":6540037,"avatar_url":"https://avatars.githubusercontent.com/u/6540037?v=3","gravatar_id":"","url":"https://api.github.com/users/dashofcode","html_url":"https://github.com/dashofcode","followers_url":"https://api.github.com/users/dashofcode/followers","following_url":"https://api.github.com/users/dashofcode/following{/other_user}","gists_url":"https://api.github.com/users/dashofcode/gists{/gist_id}","starred_url":"https://api.github.com/users/dashofcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashofcode/subscriptions","organizations_url":"https://api.github.com/users/dashofcode/orgs","repos_url":"https://api.github.com/users/dashofcode/repos","events_url":"https://api.github.com/users/dashofcode/events{/privacy}","received_events_url":"https://api.github.com/users/dashofcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dashofcode/tracker_api","description":"Ruby Wrapper for Pivotal Tracker v5 API","fork":false,"url":"https://api.github.com/repos/dashofcode/tracker_api","forks_url":"https://api.github.com/repos/dashofcode/tracker_api/forks","keys_url":"https://api.github.com/repos/dashofcode/tracker_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dashofcode/tracker_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dashofcode/tracker_api/teams","hooks_url":"https://api.github.com/repos/dashofcode/tracker_api/hooks","issue_events_url":"https://api.github.com/repos/dashofcode/tracker_api/issues/events{/number}","events_url":"https://api.github.com/repos/dashofcode/tracker_api/events","assignees_url":"https://api.github.com/repos/dashofcode/tracker_api/assignees{/user}","branches_url":"https://api.github.com/repos/dashofcode/tracker_api/branches{/branch}","tags_url":"https://api.github.com/repos/dashofcode/tracker_api/tags","blobs_url":"https://api.github.com/repos/dashofcode/tracker_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dashofcode/tracker_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dashofcode/tracker_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/dashofcode/tracker_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dashofcode/tracker_api/statuses/{sha}","languages_url":"https://api.github.com/repos/dashofcode/tracker_api/languages","stargazers_url":"https://api.github.com/repos/dashofcode/tracker_api/stargazers","contributors_url":"https://api.github.com/repos/dashofcode/tracker_api/contributors","subscribers_url":"https://api.github.com/repos/dashofcode/tracker_api/subscribers","subscription_url":"https://api.github.com/repos/dashofcode/tracker_api/subscription","commits_url":"https://api.github.com/repos/dashofcode/tracker_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/dashofcode/tracker_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/dashofcode/tracker_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/dashofcode/tracker_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/dashofcode/tracker_api/contents/{+path}","compare_url":"https://api.github.com/repos/dashofcode/tracker_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dashofcode/tracker_api/merges","archive_url":"https://api.github.com/repos/dashofcode/tracker_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dashofcode/tracker_api/downloads","issues_url":"https://api.github.com/repos/dashofcode/tracker_api/issues{/number}","pulls_url":"https://api.github.com/repos/dashofcode/tracker_api/pulls{/number}","milestones_url":"https://api.github.com/repos/dashofcode/tracker_api/milestones{/number}","notifications_url":"https://api.github.com/repos/dashofcode/tracker_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dashofcode/tracker_api/labels{/name}","releases_url":"https://api.github.com/repos/dashofcode/tracker_api/releases{/id}","created_at":"2014-03-21T06:58:55Z","updated_at":"2015-01-20T05:47:56Z","pushed_at":"2015-01-20T05:50:42Z","git_url":"git://github.com/dashofcode/tracker_api.git","ssh_url":"git@github.com:dashofcode/tracker_api.git","clone_url":"https://github.com/dashofcode/tracker_api.git","svn_url":"https://github.com/dashofcode/tracker_api","homepage":"","size":543,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":6,"forks":32,"open_issues":6,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27"},"html":{"href":"https://github.com/dashofcode/tracker_api/pull/27"},"issue":{"href":"https://api.github.com/repos/dashofcode/tracker_api/issues/27"},"comments":{"href":"https://api.github.com/repos/dashofcode/tracker_api/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/dashofcode/tracker_api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dashofcode/tracker_api/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/dashofcode/tracker_api/statuses/0281ad813a3d96958168c5df5ef802101d59bda1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":0,"changed_files":3}}