question

VyacheslavPlatukhin-5174 avatar image
0 Votes"
VyacheslavPlatukhin-5174 asked

Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

Hi all

Using code from the article Use Project schedule APIs to perform operations with Scheduling entities we faced up with an issue that tasks progress is not updated in Project for the web

It works fine when progress should either 0% or 100%, but does not when it should be somewhere in between (1-99%). It looks like any values greater than 0 and less than 1 just ignored by API

The task's msdyn_effortremaining field can't be updated at all

Are we missing something? Maybe there is some related entity that should be updated as well?

Here is the piece of code we are using and bellow is the result

 task3["msdyn_subject"] = "Updated Task";
 task3["msdyn_effort"] = 8d;
 task3["msdyn_effortremaining"] = 4m;
 task3["msdyn_progress"] = 0.5m;
 task3["msdyn_start"] = DateTime.Now.AddDays(1);
 var task3UpdateResponse = CallPssUpdateAction(task3, operationSetId);

120678-screenshot-2021-08-04-143606.png



dotnet-csharpmicrosoft-graph-tasks-plans
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers