{"action":"closed","number":661,"pull_request":{"url":"https://api.github.com/repos/mozilla/normandy/pulls/661","id":114207266,"html_url":"https://github.com/mozilla/normandy/pull/661","diff_url":"https://github.com/mozilla/normandy/pull/661.diff","patch_url":"https://github.com/mozilla/normandy/pull/661.patch","issue_url":"https://api.github.com/repos/mozilla/normandy/issues/661","number":661,"state":"closed","locked":false,"title":"#351 Add Preference filter expressions","user":{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false},"body":"Fixes #351 \r\n\r\n- Adds `preferenceValue`, `preferenceIsUserSet`, `preferenceExists` filter expressions to JEXL\r\n- Adds relevant tests for new filters\r\n\r\nThis was suspiciously easy, so I have a feeling I'm missing something, but this is ready for feedback!","created_at":"2017-04-04T17:54:22Z","updated_at":"2017-04-06T15:35:38Z","closed_at":"2017-04-06T15:35:38Z","merged_at":"2017-04-06T15:35:38Z","merge_commit_sha":"bb684343ca80e3c531a4c64aacfb7dcd78c731ac","assignee":{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false},"assignees":[{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/normandy/pulls/661/commits","review_comments_url":"https://api.github.com/repos/mozilla/normandy/pulls/661/comments","review_comment_url":"https://api.github.com/repos/mozilla/normandy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/normandy/issues/661/comments","statuses_url":"https://api.github.com/repos/mozilla/normandy/statuses/b07cf3e891f9fe3be7a9bcbf38779f532b42173b","head":{"label":"andymikulski:351-preference-filters","ref":"351-preference-filters","sha":"b07cf3e891f9fe3be7a9bcbf38779f532b42173b","user":{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false},"repo":{"id":73124724,"name":"normandy","full_name":"andymikulski/normandy","owner":{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andymikulski/normandy","description":"Firefox recipe server","fork":true,"url":"https://api.github.com/repos/andymikulski/normandy","forks_url":"https://api.github.com/repos/andymikulski/normandy/forks","keys_url":"https://api.github.com/repos/andymikulski/normandy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andymikulski/normandy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andymikulski/normandy/teams","hooks_url":"https://api.github.com/repos/andymikulski/normandy/hooks","issue_events_url":"https://api.github.com/repos/andymikulski/normandy/issues/events{/number}","events_url":"https://api.github.com/repos/andymikulski/normandy/events","assignees_url":"https://api.github.com/repos/andymikulski/normandy/assignees{/user}","branches_url":"https://api.github.com/repos/andymikulski/normandy/branches{/branch}","tags_url":"https://api.github.com/repos/andymikulski/normandy/tags","blobs_url":"https://api.github.com/repos/andymikulski/normandy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andymikulski/normandy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andymikulski/normandy/git/refs{/sha}","trees_url":"https://api.github.com/repos/andymikulski/normandy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andymikulski/normandy/statuses/{sha}","languages_url":"https://api.github.com/repos/andymikulski/normandy/languages","stargazers_url":"https://api.github.com/repos/andymikulski/normandy/stargazers","contributors_url":"https://api.github.com/repos/andymikulski/normandy/contributors","subscribers_url":"https://api.github.com/repos/andymikulski/normandy/subscribers","subscription_url":"https://api.github.com/repos/andymikulski/normandy/subscription","commits_url":"https://api.github.com/repos/andymikulski/normandy/commits{/sha}","git_commits_url":"https://api.github.com/repos/andymikulski/normandy/git/commits{/sha}","comments_url":"https://api.github.com/repos/andymikulski/normandy/comments{/number}","issue_comment_url":"https://api.github.com/repos/andymikulski/normandy/issues/comments{/number}","contents_url":"https://api.github.com/repos/andymikulski/normandy/contents/{+path}","compare_url":"https://api.github.com/repos/andymikulski/normandy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andymikulski/normandy/merges","archive_url":"https://api.github.com/repos/andymikulski/normandy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andymikulski/normandy/downloads","issues_url":"https://api.github.com/repos/andymikulski/normandy/issues{/number}","pulls_url":"https://api.github.com/repos/andymikulski/normandy/pulls{/number}","milestones_url":"https://api.github.com/repos/andymikulski/normandy/milestones{/number}","notifications_url":"https://api.github.com/repos/andymikulski/normandy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andymikulski/normandy/labels{/name}","releases_url":"https://api.github.com/repos/andymikulski/normandy/releases{/id}","deployments_url":"https://api.github.com/repos/andymikulski/normandy/deployments","created_at":"2016-11-07T21:59:21Z","updated_at":"2017-01-28T19:56:13Z","pushed_at":"2017-04-06T15:27:53Z","git_url":"git://github.com/andymikulski/normandy.git","ssh_url":"git@github.com:andymikulski/normandy.git","clone_url":"https://github.com/andymikulski/normandy.git","svn_url":"https://github.com/andymikulski/normandy","homepage":"https://wiki.mozilla.org/Firefox/Recipe_Server","size":3652,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"mozilla:master","ref":"master","sha":"2d10f37b9b80a9aee9eabb59d3c0220e9bd9fb05","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars1.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":48456638,"name":"normandy","full_name":"mozilla/normandy","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars1.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/normandy","description":"Firefox recipe server","fork":false,"url":"https://api.github.com/repos/mozilla/normandy","forks_url":"https://api.github.com/repos/mozilla/normandy/forks","keys_url":"https://api.github.com/repos/mozilla/normandy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/normandy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/normandy/teams","hooks_url":"https://api.github.com/repos/mozilla/normandy/hooks","issue_events_url":"https://api.github.com/repos/mozilla/normandy/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/normandy/events","assignees_url":"https://api.github.com/repos/mozilla/normandy/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/normandy/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/normandy/tags","blobs_url":"https://api.github.com/repos/mozilla/normandy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/normandy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/normandy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/normandy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/normandy/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/normandy/languages","stargazers_url":"https://api.github.com/repos/mozilla/normandy/stargazers","contributors_url":"https://api.github.com/repos/mozilla/normandy/contributors","subscribers_url":"https://api.github.com/repos/mozilla/normandy/subscribers","subscription_url":"https://api.github.com/repos/mozilla/normandy/subscription","commits_url":"https://api.github.com/repos/mozilla/normandy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/normandy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/normandy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/normandy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/normandy/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/normandy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/normandy/merges","archive_url":"https://api.github.com/repos/mozilla/normandy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/normandy/downloads","issues_url":"https://api.github.com/repos/mozilla/normandy/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/normandy/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/normandy/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/normandy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/normandy/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/normandy/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/normandy/deployments","created_at":"2015-12-22T22:18:19Z","updated_at":"2017-03-15T11:54:32Z","pushed_at":"2017-04-06T15:35:38Z","git_url":"git://github.com/mozilla/normandy.git","ssh_url":"git@github.com:mozilla/normandy.git","clone_url":"https://github.com/mozilla/normandy.git","svn_url":"https://github.com/mozilla/normandy","homepage":"https://wiki.mozilla.org/Firefox/Recipe_Server","size":3519,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":83,"forks":18,"open_issues":83,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/normandy/pulls/661"},"html":{"href":"https://github.com/mozilla/normandy/pull/661"},"issue":{"href":"https://api.github.com/repos/mozilla/normandy/issues/661"},"comments":{"href":"https://api.github.com/repos/mozilla/normandy/issues/661/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/normandy/pulls/661/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/normandy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/normandy/pulls/661/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/normandy/statuses/b07cf3e891f9fe3be7a9bcbf38779f532b42173b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andymikulski","id":2767162,"avatar_url":"https://avatars2.githubusercontent.com/u/2767162?v=3","gravatar_id":"","url":"https://api.github.com/users/andymikulski","html_url":"https://github.com/andymikulski","followers_url":"https://api.github.com/users/andymikulski/followers","following_url":"https://api.github.com/users/andymikulski/following{/other_user}","gists_url":"https://api.github.com/users/andymikulski/gists{/gist_id}","starred_url":"https://api.github.com/users/andymikulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymikulski/subscriptions","organizations_url":"https://api.github.com/users/andymikulski/orgs","repos_url":"https://api.github.com/users/andymikulski/repos","events_url":"https://api.github.com/users/andymikulski/events{/privacy}","received_events_url":"https://api.github.com/users/andymikulski/received_events","type":"User","site_admin":false},"comments":2,"review_comments":6,"maintainer_can_modify":false,"commits":3,"additions":84,"deletions":9,"changed_files":4}}
{"actor":{"display_login":"andymikulski"}}