{"action":"opened","number":203,"pull_request":{"url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203","id":98100002,"html_url":"https://github.com/sumoheavy/jira-ruby/pull/203","diff_url":"https://github.com/sumoheavy/jira-ruby/pull/203.diff","patch_url":"https://github.com/sumoheavy/jira-ruby/pull/203.patch","issue_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/203","number":203,"state":"open","locked":false,"title":"Fix for Issue 202 - JIRA::Resource::Agile.get_sprints not taking account of context_path","user":{"login":"trapeze-bell-peter","id":7551247,"avatar_url":"https://avatars.githubusercontent.com/u/7551247?v=3","gravatar_id":"","url":"https://api.github.com/users/trapeze-bell-peter","html_url":"https://github.com/trapeze-bell-peter","followers_url":"https://api.github.com/users/trapeze-bell-peter/followers","following_url":"https://api.github.com/users/trapeze-bell-peter/following{/other_user}","gists_url":"https://api.github.com/users/trapeze-bell-peter/gists{/gist_id}","starred_url":"https://api.github.com/users/trapeze-bell-peter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trapeze-bell-peter/subscriptions","organizations_url":"https://api.github.com/users/trapeze-bell-peter/orgs","repos_url":"https://api.github.com/users/trapeze-bell-peter/repos","events_url":"https://api.github.com/users/trapeze-bell-peter/events{/privacy}","received_events_url":"https://api.github.com/users/trapeze-bell-peter/received_events","type":"User","site_admin":false},"body":"Firstly, many thanks for this really useful GEM.  We have used it to build a system to extract key information on our development and provide KPIs back to each developer on how well they are doing.  I came across the issue as we are now wanting to measure sprint performance.\r\n\r\nI have come up with a fix for 202.  It's my first time of offering a pull request.  I hope its acceptable.\r\n\r\nOne thing I was not quite sure on, was how to generate the options element of the URI.  I found something in the Base class, but could not find a way to use it in JIRA::Resource::Agile class.  Pls let me know, if there is a better way.","created_at":"2016-12-15T07:33:41Z","updated_at":"2016-12-15T07:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff591d52f62af1f731022a1d6308ba77cfacf1d8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203/commits","review_comments_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203/comments","review_comment_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/203/comments","statuses_url":"https://api.github.com/repos/sumoheavy/jira-ruby/statuses/cbfae963d8642d050de15b42eea1dcf515c5c1df","head":{"label":"TrapezeGroupUK:agile_path","ref":"agile_path","sha":"cbfae963d8642d050de15b42eea1dcf515c5c1df","user":{"login":"TrapezeGroupUK","id":7551263,"avatar_url":"https://avatars.githubusercontent.com/u/7551263?v=3","gravatar_id":"","url":"https://api.github.com/users/TrapezeGroupUK","html_url":"https://github.com/TrapezeGroupUK","followers_url":"https://api.github.com/users/TrapezeGroupUK/followers","following_url":"https://api.github.com/users/TrapezeGroupUK/following{/other_user}","gists_url":"https://api.github.com/users/TrapezeGroupUK/gists{/gist_id}","starred_url":"https://api.github.com/users/TrapezeGroupUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrapezeGroupUK/subscriptions","organizations_url":"https://api.github.com/users/TrapezeGroupUK/orgs","repos_url":"https://api.github.com/users/TrapezeGroupUK/repos","events_url":"https://api.github.com/users/TrapezeGroupUK/events{/privacy}","received_events_url":"https://api.github.com/users/TrapezeGroupUK/received_events","type":"Organization","site_admin":false},"repo":{"id":76332791,"name":"jira-ruby","full_name":"TrapezeGroupUK/jira-ruby","owner":{"login":"TrapezeGroupUK","id":7551263,"avatar_url":"https://avatars.githubusercontent.com/u/7551263?v=3","gravatar_id":"","url":"https://api.github.com/users/TrapezeGroupUK","html_url":"https://github.com/TrapezeGroupUK","followers_url":"https://api.github.com/users/TrapezeGroupUK/followers","following_url":"https://api.github.com/users/TrapezeGroupUK/following{/other_user}","gists_url":"https://api.github.com/users/TrapezeGroupUK/gists{/gist_id}","starred_url":"https://api.github.com/users/TrapezeGroupUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrapezeGroupUK/subscriptions","organizations_url":"https://api.github.com/users/TrapezeGroupUK/orgs","repos_url":"https://api.github.com/users/TrapezeGroupUK/repos","events_url":"https://api.github.com/users/TrapezeGroupUK/events{/privacy}","received_events_url":"https://api.github.com/users/TrapezeGroupUK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TrapezeGroupUK/jira-ruby","description":"A Ruby gem for the JIRA REST API","fork":true,"url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby","forks_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/forks","keys_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/teams","hooks_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/hooks","issue_events_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/events","assignees_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/tags","blobs_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/languages","stargazers_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/stargazers","contributors_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/contributors","subscribers_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/subscribers","subscription_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/subscription","commits_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/merges","archive_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/downloads","issues_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/labels{/name}","releases_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/TrapezeGroupUK/jira-ruby/deployments","created_at":"2016-12-13T07:10:13Z","updated_at":"2016-12-13T07:10:14Z","pushed_at":"2016-12-15T06:51:37Z","git_url":"git://github.com/TrapezeGroupUK/jira-ruby.git","ssh_url":"git@github.com:TrapezeGroupUK/jira-ruby.git","clone_url":"https://github.com/TrapezeGroupUK/jira-ruby.git","svn_url":"https://github.com/TrapezeGroupUK/jira-ruby","homepage":"","size":747,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"sumoheavy:master","ref":"master","sha":"1d5c843a3b5235160a88c3924378482044e95862","user":{"login":"sumoheavy","id":861987,"avatar_url":"https://avatars.githubusercontent.com/u/861987?v=3","gravatar_id":"","url":"https://api.github.com/users/sumoheavy","html_url":"https://github.com/sumoheavy","followers_url":"https://api.github.com/users/sumoheavy/followers","following_url":"https://api.github.com/users/sumoheavy/following{/other_user}","gists_url":"https://api.github.com/users/sumoheavy/gists{/gist_id}","starred_url":"https://api.github.com/users/sumoheavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumoheavy/subscriptions","organizations_url":"https://api.github.com/users/sumoheavy/orgs","repos_url":"https://api.github.com/users/sumoheavy/repos","events_url":"https://api.github.com/users/sumoheavy/events{/privacy}","received_events_url":"https://api.github.com/users/sumoheavy/received_events","type":"Organization","site_admin":false},"repo":{"id":2930503,"name":"jira-ruby","full_name":"sumoheavy/jira-ruby","owner":{"login":"sumoheavy","id":861987,"avatar_url":"https://avatars.githubusercontent.com/u/861987?v=3","gravatar_id":"","url":"https://api.github.com/users/sumoheavy","html_url":"https://github.com/sumoheavy","followers_url":"https://api.github.com/users/sumoheavy/followers","following_url":"https://api.github.com/users/sumoheavy/following{/other_user}","gists_url":"https://api.github.com/users/sumoheavy/gists{/gist_id}","starred_url":"https://api.github.com/users/sumoheavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumoheavy/subscriptions","organizations_url":"https://api.github.com/users/sumoheavy/orgs","repos_url":"https://api.github.com/users/sumoheavy/repos","events_url":"https://api.github.com/users/sumoheavy/events{/privacy}","received_events_url":"https://api.github.com/users/sumoheavy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumoheavy/jira-ruby","description":"A Ruby gem for the JIRA REST API","fork":false,"url":"https://api.github.com/repos/sumoheavy/jira-ruby","forks_url":"https://api.github.com/repos/sumoheavy/jira-ruby/forks","keys_url":"https://api.github.com/repos/sumoheavy/jira-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumoheavy/jira-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumoheavy/jira-ruby/teams","hooks_url":"https://api.github.com/repos/sumoheavy/jira-ruby/hooks","issue_events_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/sumoheavy/jira-ruby/events","assignees_url":"https://api.github.com/repos/sumoheavy/jira-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/sumoheavy/jira-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/sumoheavy/jira-ruby/tags","blobs_url":"https://api.github.com/repos/sumoheavy/jira-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumoheavy/jira-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumoheavy/jira-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumoheavy/jira-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumoheavy/jira-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/sumoheavy/jira-ruby/languages","stargazers_url":"https://api.github.com/repos/sumoheavy/jira-ruby/stargazers","contributors_url":"https://api.github.com/repos/sumoheavy/jira-ruby/contributors","subscribers_url":"https://api.github.com/repos/sumoheavy/jira-ruby/subscribers","subscription_url":"https://api.github.com/repos/sumoheavy/jira-ruby/subscription","commits_url":"https://api.github.com/repos/sumoheavy/jira-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumoheavy/jira-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumoheavy/jira-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumoheavy/jira-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/sumoheavy/jira-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumoheavy/jira-ruby/merges","archive_url":"https://api.github.com/repos/sumoheavy/jira-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumoheavy/jira-ruby/downloads","issues_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/sumoheavy/jira-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/sumoheavy/jira-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumoheavy/jira-ruby/labels{/name}","releases_url":"https://api.github.com/repos/sumoheavy/jira-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/sumoheavy/jira-ruby/deployments","created_at":"2011-12-07T05:35:35Z","updated_at":"2016-12-13T20:32:56Z","pushed_at":"2016-12-08T20:29:25Z","git_url":"git://github.com/sumoheavy/jira-ruby.git","ssh_url":"git@github.com:sumoheavy/jira-ruby.git","clone_url":"https://github.com/sumoheavy/jira-ruby.git","svn_url":"https://github.com/sumoheavy/jira-ruby","homepage":"","size":747,"stargazers_count":342,"watchers_count":342,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":243,"mirror_url":null,"open_issues_count":32,"forks":243,"open_issues":32,"watchers":342,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203"},"html":{"href":"https://github.com/sumoheavy/jira-ruby/pull/203"},"issue":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/203"},"comments":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/statuses/cbfae963d8642d050de15b42eea1dcf515c5c1df"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":61,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"trapeze-bell-peter"}}