{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/uaa/issues/900","repository_url":"https://api.github.com/repos/cloudfoundry/uaa","labels_url":"https://api.github.com/repos/cloudfoundry/uaa/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/uaa/issues/900/comments","events_url":"https://api.github.com/repos/cloudfoundry/uaa/issues/900/events","html_url":"https://github.com/cloudfoundry/uaa/issues/900","id":360614132,"node_id":"MDU6SXNzdWUzNjA2MTQxMzI=","number":900,"title":"*Bug* - External ID is currently not searchable although it should be","user":{"login":"smoser-ibm","id":13646313,"node_id":"MDQ6VXNlcjEzNjQ2MzEz","avatar_url":"https://avatars2.githubusercontent.com/u/13646313?v=4","gravatar_id":"","url":"https://api.github.com/users/smoser-ibm","html_url":"https://github.com/smoser-ibm","followers_url":"https://api.github.com/users/smoser-ibm/followers","following_url":"https://api.github.com/users/smoser-ibm/following{/other_user}","gists_url":"https://api.github.com/users/smoser-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/smoser-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoser-ibm/subscriptions","organizations_url":"https://api.github.com/users/smoser-ibm/orgs","repos_url":"https://api.github.com/users/smoser-ibm/repos","events_url":"https://api.github.com/users/smoser-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/smoser-ibm/received_events","type":"User","site_admin":false},"labels":[{"id":240264515,"node_id":"MDU6TGFiZWwyNDAyNjQ1MTU=","url":"https://api.github.com/repos/cloudfoundry/uaa/labels/unscheduled","name":"unscheduled","color":"D9D9D9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-16T07:45:42Z","updated_at":"2018-09-19T22:11:38Z","closed_at":"2018-09-19T22:11:38Z","author_association":"NONE","body":"### What version of UAA are you running?\r\n\r\n{\"app\":{\"version\":\"4.11.0\"},\"links\":{\"uaa\":\"https://uaa....\r\n\r\n### How are you deploying the UAA?\r\nI am deploying the UAA using cf-deployment\r\n\r\n### What did you do?\r\n\r\nIf possible, provide a recipe for reproducing the error. Exact `curl` or `uaac` commands with verbose output are helpful. If your problem is configuration-related, please include portions of your uaa.yml or bosh deployment manifest that you believe may be relevant (but do not divulge secrets!)\r\n\r\n### What did you expect to see? What goal are you trying to achieve with the UAA?\r\n\r\nAccording to UAA documentation, external_id is a searchable attribute. See also https://github.com/cloudfoundry/uaa/blob/develop/docs/UAA-APIs.rst#a-note-on-filtering\r\n\r\n\"\r\n[...]\r\nThe following column names can be used for querying a user\r\n\r\n[...]\r\n* external_id - string\r\n[...]\r\n\"\r\n\r\n2. Get Users (working)\r\n\r\ncurl -H \"Authorization: Bearer $TOKEN\" -H \"Accept: application/json\" \"https://uaa.ng.bluemix.net/Users?filter=userName+eq+%22Martin.Smolny%40de.ibm.com%22\"\r\n\r\n{\"resources\":[{\"id\":\"20523bc9-61ba-4224-9176-4590d6bed26a\",\"meta\":{\"version\":4,\"created\":\"2014-07-21T08:28:35.420Z\",\"lastModified\":\"2014-08-15T02:51:22.340Z\"},\"userName\":\"Martin.Smolny@de.ibm.com\",...}\r\n\r\n3. Get Users (bug)\r\n\r\nexternal_id, as documented:\r\n\r\ncurl -H \"Authorization: Bearer $TOKEN\" -H \"Accept: application/json\" \"https://uaa.ng.bluemix.net/Users?filter=external_id+eq+%22abc%22\"\r\n\r\n{\"error_description\":\"Invalid filter expression: [external_id eq \\\"abc\\\"] [created]\",\"error\":\"scim\",\"message\":\"Invalid filter expression: [external_id eq \\\"abc\\\"] [created]\"}\r\n\r\nexternalid without underscore:\r\n\r\ncurl -H \"Authorization: Bearer $TOKEN\" -H \"Accept: application/json\" \"https://uaa.ng.bluemix.net/Users?filter=externalid+eq+%22abc%22\"\r\n\r\n{\"error_description\":\"Invalid filter expression: [externalid eq \\\"abc\\\"] [created]\",\"error\":\"scim\",\"message\":\"Invalid filter expression: [externalid eq \\\"abc\\\"] [created]\"}\r\n\r\nfor comparison the attribute phonenumber that is also documented as searchable:\r\n\r\ncurl -H \"Authorization: Bearer $TOKEN\" -H \"Accept: application/json\" \"https://uaa.ng.bluemix.net/Users?filter=phonenumber+eq+%22abc%22\"\r\n\r\n{\"resources\":[],\"startIndex\":1,\"itemsPerPage\":100,\"totalResults\":0,\"schemas\":[\"urn:scim:schemas:core:1.0\"]}\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/uaa/issues/comments/422975909","html_url":"https://github.com/cloudfoundry/uaa/issues/900#issuecomment-422975909","issue_url":"https://api.github.com/repos/cloudfoundry/uaa/issues/900","id":422975909,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjk3NTkwOQ==","user":{"login":"sreetummidi","id":8632399,"node_id":"MDQ6VXNlcjg2MzIzOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/8632399?v=4","gravatar_id":"","url":"https://api.github.com/users/sreetummidi","html_url":"https://github.com/sreetummidi","followers_url":"https://api.github.com/users/sreetummidi/followers","following_url":"https://api.github.com/users/sreetummidi/following{/other_user}","gists_url":"https://api.github.com/users/sreetummidi/gists{/gist_id}","starred_url":"https://api.github.com/users/sreetummidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreetummidi/subscriptions","organizations_url":"https://api.github.com/users/sreetummidi/orgs","repos_url":"https://api.github.com/users/sreetummidi/repos","events_url":"https://api.github.com/users/sreetummidi/events{/privacy}","received_events_url":"https://api.github.com/users/sreetummidi/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T22:11:38Z","updated_at":"2018-09-19T22:11:38Z","author_association":"CONTRIBUTOR","body":"@smoser-ibm external id is a legacy field and we plan to deprecate and remove it. Its not of consequence in UAA flows."}}
{"actor":{"display_login":"sreetummidi"}}