{"action":"opened","issue":{"url":"https://api.github.com/repos/appirio-tech/connect-app/issues/2006","repository_url":"https://api.github.com/repos/appirio-tech/connect-app","labels_url":"https://api.github.com/repos/appirio-tech/connect-app/issues/2006/labels{/name}","comments_url":"https://api.github.com/repos/appirio-tech/connect-app/issues/2006/comments","events_url":"https://api.github.com/repos/appirio-tech/connect-app/issues/2006/events","html_url":"https://github.com/appirio-tech/connect-app/issues/2006","id":324692107,"number":2006,"title":"Filter by project type","user":{"login":"maxceem","id":146016,"avatar_url":"https://avatars3.githubusercontent.com/u/146016?v=4","gravatar_id":"","url":"https://api.github.com/users/maxceem","html_url":"https://github.com/maxceem","followers_url":"https://api.github.com/users/maxceem/followers","following_url":"https://api.github.com/users/maxceem/following{/other_user}","gists_url":"https://api.github.com/users/maxceem/gists{/gist_id}","starred_url":"https://api.github.com/users/maxceem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxceem/subscriptions","organizations_url":"https://api.github.com/users/maxceem/orgs","repos_url":"https://api.github.com/users/maxceem/repos","events_url":"https://api.github.com/users/maxceem/events{/privacy}","received_events_url":"https://api.github.com/users/maxceem/received_events","type":"User","site_admin":false},"labels":[{"id":936064901,"url":"https://api.github.com/repos/appirio-tech/connect-app/labels/Project-Plan","name":"Project-Plan","color":"f78a8c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/appirio-tech/connect-app/milestones/51","html_url":"https://github.com/appirio-tech/connect-app/milestone/51","labels_url":"https://api.github.com/repos/appirio-tech/connect-app/milestones/51/labels","id":3353515,"number":51,"title":"Project Plan","description":"","creator":{"login":"maxceem","id":146016,"avatar_url":"https://avatars3.githubusercontent.com/u/146016?v=4","gravatar_id":"","url":"https://api.github.com/users/maxceem","html_url":"https://github.com/maxceem","followers_url":"https://api.github.com/users/maxceem/followers","following_url":"https://api.github.com/users/maxceem/following{/other_user}","gists_url":"https://api.github.com/users/maxceem/gists{/gist_id}","starred_url":"https://api.github.com/users/maxceem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxceem/subscriptions","organizations_url":"https://api.github.com/users/maxceem/orgs","repos_url":"https://api.github.com/users/maxceem/repos","events_url":"https://api.github.com/users/maxceem/events{/privacy}","received_events_url":"https://api.github.com/users/maxceem/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2018-05-17T04:13:00Z","updated_at":"2018-05-20T08:15:58Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-05-20T08:15:58Z","updated_at":"2018-05-20T08:15:58Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, we can filter by project type. And I'm trying to understand where it will come from the DB.\r\nNote, that we need here human readable title for project type together with project type id.\r\n\r\n![image](https://user-images.githubusercontent.com/146016/40276904-f3df9a72-5c47-11e8-9973-094a5cc86eda.png)\r\n\r\nIn the new `project_templates` schema there is a `category` property which maps to project type:\r\n\r\n![image](https://user-images.githubusercontent.com/146016/40276914-1f42018c-5c48-11e8-8f55-95beb84139b3.png)\r\n\r\nThough I have concern here. \r\n\r\n1. Does `category` property should map to human-readable project type or project id:\r\n\r\n    ![category](https://user-images.githubusercontent.com/146016/40276938-84a6fb54-5c48-11e8-8e09-e726312a26e6.png)\r\n\r\n2. If `category` maps to id how to get title? Or if maps to title, how to get id? I think we don't wanna store this mapping in the source code, otherwise we will have to update it all the time. So both project type title and project type id has to be stored in DB somewhere.\r\n\r\ncc @RishiRajSahu "}}
{"actor":{"display_login":"maxceem"}}