{"action":"closed","issue":{"url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/issues/6","repository_url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander","labels_url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/issues/6/comments","events_url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/issues/6/events","html_url":"https://github.com/HarchenkoMykyta/hybris_mentoring_alexander/issues/6","id":159178623,"number":6,"title":"Add organization model","user":{"login":"HarchenkoMykyta","id":9263585,"avatar_url":"https://avatars.githubusercontent.com/u/9263585?v=3","gravatar_id":"","url":"https://api.github.com/users/HarchenkoMykyta","html_url":"https://github.com/HarchenkoMykyta","followers_url":"https://api.github.com/users/HarchenkoMykyta/followers","following_url":"https://api.github.com/users/HarchenkoMykyta/following{/other_user}","gists_url":"https://api.github.com/users/HarchenkoMykyta/gists{/gist_id}","starred_url":"https://api.github.com/users/HarchenkoMykyta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarchenkoMykyta/subscriptions","organizations_url":"https://api.github.com/users/HarchenkoMykyta/orgs","repos_url":"https://api.github.com/users/HarchenkoMykyta/repos","events_url":"https://api.github.com/users/HarchenkoMykyta/events{/privacy}","received_events_url":"https://api.github.com/users/HarchenkoMykyta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/labels/US","name":"US","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"AlexandrGorbatov","id":2006026,"avatar_url":"https://avatars.githubusercontent.com/u/2006026?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexandrGorbatov","html_url":"https://github.com/AlexandrGorbatov","followers_url":"https://api.github.com/users/AlexandrGorbatov/followers","following_url":"https://api.github.com/users/AlexandrGorbatov/following{/other_user}","gists_url":"https://api.github.com/users/AlexandrGorbatov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandrGorbatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandrGorbatov/subscriptions","organizations_url":"https://api.github.com/users/AlexandrGorbatov/orgs","repos_url":"https://api.github.com/users/AlexandrGorbatov/repos","events_url":"https://api.github.com/users/AlexandrGorbatov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandrGorbatov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/milestones/2","html_url":"https://github.com/HarchenkoMykyta/hybris_mentoring_alexander/milestones/The%20First%20Week","labels_url":"https://api.github.com/repos/HarchenkoMykyta/hybris_mentoring_alexander/milestones/2/labels","id":1807050,"number":2,"title":"The First Week","description":"","creator":{"login":"HarchenkoMykyta","id":9263585,"avatar_url":"https://avatars.githubusercontent.com/u/9263585?v=3","gravatar_id":"","url":"https://api.github.com/users/HarchenkoMykyta","html_url":"https://github.com/HarchenkoMykyta","followers_url":"https://api.github.com/users/HarchenkoMykyta/followers","following_url":"https://api.github.com/users/HarchenkoMykyta/following{/other_user}","gists_url":"https://api.github.com/users/HarchenkoMykyta/gists{/gist_id}","starred_url":"https://api.github.com/users/HarchenkoMykyta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarchenkoMykyta/subscriptions","organizations_url":"https://api.github.com/users/HarchenkoMykyta/orgs","repos_url":"https://api.github.com/users/HarchenkoMykyta/repos","events_url":"https://api.github.com/users/HarchenkoMykyta/events{/privacy}","received_events_url":"https://api.github.com/users/HarchenkoMykyta/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2016-06-03T12:17:42Z","updated_at":"2016-06-13T12:04:47Z","due_on":"2016-06-09T21:00:00Z","closed_at":null},"comments":0,"created_at":"2016-06-08T14:31:29Z","updated_at":"2016-06-13T12:04:47Z","closed_at":"2016-06-13T12:04:47Z","body":"As a *content manager*\r\nI want Customer model (OOTB - out of the box model) to be extended with next fields: status, attemptCount. \r\nCreate new Organization model in Hybris. Add many-to-many relation between Customer and Organization models.\r\n\r\n**AC:**\r\nFor **Customer** model:\r\n*status* field: Boolean type. It indicates if account is locked or not. Default value is false.\r\n*attemptCount* field: Integer type. It indicates how many times user entered incorrect password successively.\r\n*organisations* field: is many-to-many relationship (so this is collection).\r\n\r\nFor **Organisation** model:\r\n*id* field: integer type (not a PK)\r\n*name* field: it contains localized values.\r\n*phone* field : String\r\n*email* fields : String\r\nAll these fields should be mandatory.\r\n\r\n*Technical tips:*\r\nhttps://wiki.hybris.com/display/release5/items.xml+Element+Reference"}}
{"actor":{"display_login":"HarchenkoMykyta"}}