{"action":"closed","issue":{"url":"https://api.github.com/repos/kmzproject/kmz/issues/15","repository_url":"https://api.github.com/repos/kmzproject/kmz","labels_url":"https://api.github.com/repos/kmzproject/kmz/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/kmzproject/kmz/issues/15/comments","events_url":"https://api.github.com/repos/kmzproject/kmz/issues/15/events","html_url":"https://github.com/kmzproject/kmz/issues/15","id":23496423,"number":15,"title":"Процесс редактирования задачи - с ресурсами","user":{"login":"kmzproject","id":5822638,"avatar_url":"https://avatars.githubusercontent.com/u/5822638?v=3","gravatar_id":"","url":"https://api.github.com/users/kmzproject","html_url":"https://github.com/kmzproject","followers_url":"https://api.github.com/users/kmzproject/followers","following_url":"https://api.github.com/users/kmzproject/following{/other_user}","gists_url":"https://api.github.com/users/kmzproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kmzproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmzproject/subscriptions","organizations_url":"https://api.github.com/users/kmzproject/orgs","repos_url":"https://api.github.com/users/kmzproject/repos","events_url":"https://api.github.com/users/kmzproject/events{/privacy}","received_events_url":"https://api.github.com/users/kmzproject/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kmzproject/kmz/milestones/2","html_url":"https://github.com/kmzproject/kmz/milestones/Release3-Final","labels_url":"https://api.github.com/repos/kmzproject/kmz/milestones/2/labels","id":494553,"number":2,"title":"Release3-Final","description":"Сдача работы за 2013 год в промышленную эксплуатацию","creator":{"login":"kmzproject","id":5822638,"avatar_url":"https://avatars.githubusercontent.com/u/5822638?v=3","gravatar_id":"","url":"https://api.github.com/users/kmzproject","html_url":"https://github.com/kmzproject","followers_url":"https://api.github.com/users/kmzproject/followers","following_url":"https://api.github.com/users/kmzproject/following{/other_user}","gists_url":"https://api.github.com/users/kmzproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kmzproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmzproject/subscriptions","organizations_url":"https://api.github.com/users/kmzproject/orgs","repos_url":"https://api.github.com/users/kmzproject/repos","events_url":"https://api.github.com/users/kmzproject/events{/privacy}","received_events_url":"https://api.github.com/users/kmzproject/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":38,"state":"open","created_at":"2013-11-23T08:56:07Z","updated_at":"2016-10-02T16:16:54Z","due_on":"2014-02-14T08:00:00Z","closed_at":null},"comments":0,"created_at":"2013-11-29T14:58:21Z","updated_at":"2016-10-02T16:16:54Z","closed_at":"2016-10-02T16:16:54Z","body":"При редактировании задачи с ресурсами есть возможность\r\n1. Менять дату начала и дату завершения задачи. - тем самым менять продолжительность задачи. (при изменении даты начала и завершение кол-во рабочих дней обновится автоматом с учетом выходных, но можно будет указать больше (типа в выходной тоже работаем)\r\n2. Изменить поле количество рабочих дней, что бы косвенно повлиять на работу в выходные.\r\n\r\n\r\nПо завершению изменения происходит следующее.\r\nЕсли дата завершения стала больше - происходит перерасчет даты начала вышестоящего объекта, производим смещение с учетом выходных дней (т.е. высчитывается дата завершения) далее по рекурсии.\r\n\r\nЕсли дата начала стала меньше -\r\nаналогично пред пункту высчитываем смещение даты начала каждого дочернего узла и по рекурсии продолжаем обработку."}}
{"actor":{"display_login":"lzibarev"}}