{"action":"closed","number":144,"pull_request":{"url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/144","id":66000358,"html_url":"https://github.com/sumoheavy/jira-ruby/pull/144","diff_url":"https://github.com/sumoheavy/jira-ruby/pull/144.diff","patch_url":"https://github.com/sumoheavy/jira-ruby/pull/144.patch","issue_url":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/144","number":144,"state":"closed","locked":false,"title":"IssueCount","user":{"login":"Simwar","id":1260132,"avatar_url":"https://avatars.githubusercontent.com/u/1260132?v=3","gravatar_id":"","url":"https://api.github.com/users/Simwar","html_url":"https://github.com/Simwar","followers_url":"https://api.github.com/users/Simwar/followers","following_url":"https://api.github.com/users/Simwar/following{/other_user}","gists_url":"https://api.github.com/users/Simwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Simwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simwar/subscriptions","organizations_url":"https://api.github.com/users/Simwar/orgs","repos_url":"https://api.github.com/users/Simwar/repos","events_url":"https://api.github.com/users/Simwar/events{/privacy}","received_events_url":"https://api.github.com/users/Simwar/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nI'm using your gem but I didn't found a way to only get the number of issues without getting all the content.\r\nThe REST API has always the field \"Total\" filled when doing a query so I thought I could make an other class to only return this number.\r\nI'm new to Ruby so maybe I didn't do it the best way.\r\n\r\nTell me if this is a good idea or not :)\r\n\r\nSimon","created_at":"2016-04-11T14:13:40Z","updated_at":"2016-06-28T12:57:23Z","closed_at":"2016-06-28T12:57:23Z","merged_at":"2016-06-28T12:57:23Z","merge_commit_sha":"73165deb5f6abba81b65b02eb87140499d408adb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/144/commits","review_comments_url":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/144/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/144/comments","statuses_url":"https://api.github.com/repos/sumoheavy/jira-ruby/statuses/9ec218647837c646d40a3335ea7495e95c20b52f","head":{"label":"Simwar:master","ref":"master","sha":"9ec218647837c646d40a3335ea7495e95c20b52f","user":{"login":"Simwar","id":1260132,"avatar_url":"https://avatars.githubusercontent.com/u/1260132?v=3","gravatar_id":"","url":"https://api.github.com/users/Simwar","html_url":"https://github.com/Simwar","followers_url":"https://api.github.com/users/Simwar/followers","following_url":"https://api.github.com/users/Simwar/following{/other_user}","gists_url":"https://api.github.com/users/Simwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Simwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simwar/subscriptions","organizations_url":"https://api.github.com/users/Simwar/orgs","repos_url":"https://api.github.com/users/Simwar/repos","events_url":"https://api.github.com/users/Simwar/events{/privacy}","received_events_url":"https://api.github.com/users/Simwar/received_events","type":"User","site_admin":false},"repo":{"id":55975626,"name":"jira-ruby","full_name":"Simwar/jira-ruby","owner":{"login":"Simwar","id":1260132,"avatar_url":"https://avatars.githubusercontent.com/u/1260132?v=3","gravatar_id":"","url":"https://api.github.com/users/Simwar","html_url":"https://github.com/Simwar","followers_url":"https://api.github.com/users/Simwar/followers","following_url":"https://api.github.com/users/Simwar/following{/other_user}","gists_url":"https://api.github.com/users/Simwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Simwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simwar/subscriptions","organizations_url":"https://api.github.com/users/Simwar/orgs","repos_url":"https://api.github.com/users/Simwar/repos","events_url":"https://api.github.com/users/Simwar/events{/privacy}","received_events_url":"https://api.github.com/users/Simwar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Simwar/jira-ruby","description":"A Ruby gem for the JIRA REST API","fork":true,"url":"https://api.github.com/repos/Simwar/jira-ruby","forks_url":"https://api.github.com/repos/Simwar/jira-ruby/forks","keys_url":"https://api.github.com/repos/Simwar/jira-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Simwar/jira-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Simwar/jira-ruby/teams","hooks_url":"https://api.github.com/repos/Simwar/jira-ruby/hooks","issue_events_url":"https://api.github.com/repos/Simwar/jira-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/Simwar/jira-ruby/events","assignees_url":"https://api.github.com/repos/Simwar/jira-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/Simwar/jira-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/Simwar/jira-ruby/tags","blobs_url":"https://api.github.com/repos/Simwar/jira-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Simwar/jira-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Simwar/jira-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/Simwar/jira-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Simwar/jira-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/Simwar/jira-ruby/languages","stargazers_url":"https://api.github.com/repos/Simwar/jira-ruby/stargazers","contributors_url":"https://api.github.com/repos/Simwar/jira-ruby/contributors","subscribers_url":"https://api.github.com/repos/Simwar/jira-ruby/subscribers","subscription_url":"https://api.github.com/repos/Simwar/jira-ruby/subscription","commits_url":"https://api.github.com/repos/Simwar/jira-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/Simwar/jira-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/Simwar/jira-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/Simwar/jira-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/Simwar/jira-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/Simwar/jira-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Simwar/jira-ruby/merges","archive_url":"https://api.github.com/repos/Simwar/jira-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Simwar/jira-ruby/downloads","issues_url":"https://api.github.com/repos/Simwar/jira-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/Simwar/jira-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/Simwar/jira-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/Simwar/jira-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Simwar/jira-ruby/labels{/name}","releases_url":"https://api.github.com/repos/Simwar/jira-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/Simwar/jira-ruby/deployments","created_at":"2016-04-11T13:41:34Z","updated_at":"2016-04-11T13:41:35Z","pushed_at":"2016-06-22T12:13:04Z","git_url":"git://github.com/Simwar/jira-ruby.git","ssh_url":"git@github.com:Simwar/jira-ruby.git","clone_url":"https://github.com/Simwar/jira-ruby.git","svn_url":"https://github.com/Simwar/jira-ruby","homepage":"","size":453,"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":"9204d9dfac9de96735bcca39727f479ee72662d5","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-06-08T21:55:24Z","pushed_at":"2016-06-28T12:57:24Z","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":659,"stargazers_count":299,"watchers_count":299,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":210,"mirror_url":null,"open_issues_count":33,"forks":210,"open_issues":33,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/144"},"html":{"href":"https://github.com/sumoheavy/jira-ruby/pull/144"},"issue":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/144"},"comments":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/pulls/144/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/144/commits"},"statuses":{"href":"https://api.github.com/repos/sumoheavy/jira-ruby/statuses/9ec218647837c646d40a3335ea7495e95c20b52f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bobbrodie","id":123703,"avatar_url":"https://avatars.githubusercontent.com/u/123703?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbrodie","html_url":"https://github.com/bobbrodie","followers_url":"https://api.github.com/users/bobbrodie/followers","following_url":"https://api.github.com/users/bobbrodie/following{/other_user}","gists_url":"https://api.github.com/users/bobbrodie/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbrodie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbrodie/subscriptions","organizations_url":"https://api.github.com/users/bobbrodie/orgs","repos_url":"https://api.github.com/users/bobbrodie/repos","events_url":"https://api.github.com/users/bobbrodie/events{/privacy}","received_events_url":"https://api.github.com/users/bobbrodie/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":4,"additions":117,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"bobbrodie"}}