Our state of the art Gantt chart


Post by tikhonov.a.p »

When you try to set 100 percent completion for a milestone that has a fixed end constraint type
case:

  1. Load data into any example
  2. We are trying to set the percentage of completion to 100

Data:

{"requestId":16425920984390,"project":{"name":"WW-1","calendar":"general","hoursPerDay":24,"daysPerWeek":7,"daysPerMonth":20,"direction":"Forward","id":"7054458643239927809","approvalStatus":{"value":"REALIZATION_APPROVED"}},"success":true,"tasks":{"rows":[{"children":[{"parentId":"7054852773138464770","name":"Введение","startDate":"2022-01-17T21:00:00Z","endDate":"2022-01-18T21:00:00Z","effort":24.0,"effortUnit":"hour","duration":1.0,"durationUnit":"day","percentDone":100.0,"schedulingMode":"Normal","manuallyScheduled":false,"effortDriven":false,"parentIndex":0,"expanded":true,"direction":"Forward","critical":false,"earlyStartDate":"2022-01-17T21:00:00Z","earlyEndDate":"2022-01-18T21:00:00Z","lateStartDate":"2022-01-18T09:07:39Z","lateEndDate":"2022-01-19T09:07:39Z","guid":"4053342e-0458-42a1-9924-45c0cc6b9443","id":"7054852773138464771"},{"parentId":"7054852773138464770","name":"Дополнение","startDate":"2022-01-18T21:00:00Z","endDate":"2022-01-19T21:00:00Z","effort":24.0,"effortUnit":"hour","duration":1.0,"durationUnit":"day","percentDone":100.0,"schedulingMode":"Normal","constraintType":"startnoearlierthan","constraintDate":"2022-01-18T21:00:00Z","manuallyScheduled":false,"effortDriven":false,"parentIndex":1,"expanded":true,"direction":"Forward","critical":false,"earlyStartDate":"2022-01-18T21:00:00Z","earlyEndDate":"2022-01-19T21:00:00Z","lateStartDate":"2022-01-19T09:07:39Z","lateEndDate":"2022-01-20T09:07:39Z","guid":"f48017a1-2dbe-4fca-bb91-151801d0032a","id":"7054852773138464772"},{"parentId":"7054852773138464770","name":"Вывод в ПРОМ","startDate":"2022-01-20T09:07:39Z","endDate":"2022-01-20T09:07:39Z","effort":0.0,"effortUnit":"hour","duration":0.0,"durationUnit":"day","percentDone":0.0,"schedulingMode":"Normal","constraintType":"mustfinishon","constraintDate":"2022-01-20T09:07:39Z","manuallyScheduled":false,"effortDriven":false,"parentIndex":2,"expanded":true,"direction":"Forward","keyMilestone":true,"critical":true,"earlyStartDate":"2022-01-20T09:07:39Z","earlyEndDate":"2022-01-20T09:07:39Z","lateStartDate":"2022-01-20T09:07:39Z","lateEndDate":"2022-01-20T09:07:39Z","keyResult":"7054470439444742145","guid":"6175199d-cb93-4abd-8f44-e6a529cb8504","id":"7054852773138464773"},{"parentId":"7054852773138464770","name":"Опытная эксплуатация","startDate":"2022-01-23T21:00:00Z","endDate":"2022-01-27T21:00:00Z","effort":24.0,"effortUnit":"hour","duration":4.0,"durationUnit":"day","percentDone":100.0,"schedulingMode":"Normal","constraintType":"startnoearlierthan","constraintDate":"2022-01-23T21:00:00Z","manuallyScheduled":false,"effortDriven":false,"parentIndex":3,"expanded":true,"direction":"Forward","critical":true,"earlyStartDate":"2022-01-23T21:00:00Z","earlyEndDate":"2022-01-27T21:00:00Z","lateStartDate":"2022-01-23T21:00:00Z","lateEndDate":"2022-01-27T21:00:00Z","guid":"13acac97-4187-44ae-b949-a12f28c46935","id":"7054852773138464774"}],"name":"WW-1","startDate":"2022-01-17T21:00:00Z","endDate":"2022-01-27T21:00:00Z","effort":72.0,"effortUnit":"hour","duration":8.0,"durationUnit":"day","percentDone":100.0,"schedulingMode":"Normal","constraintType":"startnoearlierthan","constraintDate":"2022-01-17T21:00:00Z","manuallyScheduled":false,"effortDriven":false,"parentIndex":0,"expanded":true,"direction":"Forward","keyMilestone":false,"inactive":false,"critical":true,"earlyStartDate":"2022-01-17T21:00:00Z","earlyEndDate":"2022-01-27T21:00:00Z","lateStartDate":"2022-01-18T09:07:39Z","lateEndDate":"2022-01-27T21:00:00Z","guid":"6389c05a-4f37-4708-a836-9e8cada055fb","id":"7054852773138464770"}]},"dependencies":{"rows":[{"fromEvent":"7054852773138464771","from":"7054852773138464771","toEvent":"7054852773138464772","to":"7054852773138464772","lag":0.0,"lagUnit":"day","type":2,"guid":"b0f8daea-4d05-4e1c-8be7-88bf7e461a60","id":"7054852773138464779"},{"fromEvent":"7054852773138464772","from":"7054852773138464772","toEvent":"7054852773138464773","to":"7054852773138464773","lag":0.0,"lagUnit":"day","type":2,"guid":"3fc9df9f-8323-47e6-9cb7-61dccd143eeb","id":"7054852773138464780"},{"fromEvent":"7054852773138464773","from":"7054852773138464773","toEvent":"7054852773138464774","to":"7054852773138464774","lag":0.0,"lagUnit":"day","type":2,"guid":"62f329f9-2d43-43bf-ae8b-91860d816073","id":"7054852773138464781"}]},"calendars":{"rows":[{"id":"general","name":"General","intervals":[{"recurrentStartDate":"on Sat at 0:00","recurrentEndDate":"on Mon at 0:00","isWorking":false}],"children":[{"id":"business","parentCalendar":"general","name":"Business","intervals":[{"recurrentStartDate":"every weekday at 13:00","recurrentEndDate":"every weekday at 12:00","isWorking":false},{"recurrentStartDate":"every weekday at 08:00","recurrentEndDate":"every weekday at 17:00","isWorking":false}]},{"id":"night","parentCalendar":"general","name":"Night","intervals":[{"recurrentStartDate":"every weekday at 22:00","recurrentEndDate":"every weekday at 6:00","isWorking":false}]}]}]},"resources":{"rows":[{"subject":"79d9b3ba-5156-49c7-afa3-dc5c42a7a3de","email":"juser8@maill.ru","name":"juser8","projectRole":"Разработчик","structUnit":"Business Application","reservationType":"DEDICATED","reservationPercent":100,"reservationStatus":"CONFIRMED","beginDate":"2022-01-18","endDate":"2022-03-31","roles":["ACTOR"],"id":"7054471702165127169"},{"subject":"0494c6be-f0b5-4c82-8547-2c12c36aaf57","email":"juser9@maill.ru","name":"juser9","projectRole":"Аналитик","structUnit":"Business Application","reservationType":"DEDICATED","reservationPercent":100,"reservationStatus":"CONFIRMED","beginDate":"2022-01-18","endDate":"2023-03-31","roles":["ACTOR"],"id":"7054471841674428417"},{"subject":"6e61d221-eca2-4655-a612-7a7d40c86c22","email":"juser4@maill.ru","name":"juser4","reservationType":"DEDICATED","reservationPercent":20,"reservationStatus":"CONFIRMED","beginDate":"2022-01-18","endDate":"2022-03-31","roles":["MANAGER"],"id":"7054466709188509697"},{"subject":"2e6701bb-372b-4375-8c31-f5a39b1bc5e0","email":"juser5@maill.ru","name":"juser5","reservationType":"DEDICATED","reservationPercent":10,"reservationStatus":"CONFIRMED","beginDate":"2022-01-18","endDate":"2022-03-31","roles":["CURATOR"],"id":"7054466709188509699"}]},"assignments":{"rows":[{"event":"7054852773138464773","resource":"7054466709188509697","guid":"9077cffe-8232-414a-981a-7b0d972ab3f6","id":"7054852773138464775"},{"event":"7054852773138464771","resource":"7054471702165127169","units":100,"guid":"e50f3b8f-a9c0-4cb1-bf82-89f922a4dff9","id":"7054852773138464776"},{"event":"7054852773138464772","resource":"7054471841674428417","units":100,"guid":"cc691550-6708-4f4e-9078-922851ae6bce","id":"7054852773138464777"},{"event":"7054852773138464774","resource":"7054466709188509699","units":100,"guid":"e5f54dd3-11e1-48ca-8d11-2f3baed9041e","id":"7054852773138464778"}]},"timeRanges":{"rows":[]},"keyResults":{"rows":[{"description":"Вывод в ПРОМ","id":"7054470439444742145"}]}}

Post by mats »

What's the question or issue here? Do you see some error?


Post by tikhonov.a.p »

If you open the task card. Try to change percentage complete. You can't do it.

End date highlighted in red. No obvious errors


Post by alex.l »

Hi tikhonov.a.p,

I just used your JSON for our advanced example and it works good. I am able to change percentDone with no problems. Could you please test it with our latest released version?

All the best,
Alex


Post Reply