one thing that would make projects much cleaner is an option to complete milestones if all task are completed. this would keep the projects clean and focused especially on the mobile app.
with that said i have attempted to write a script in deluge to check for all task completed and then update the milestone to completed.
i have this all working. the issue is the api call to update the "status" is different, when i pass the "status" field into the map of values it does not update the status, i tried passing text "completed" and integer 2.
milestoneMap = Map();
milestoneMapStatus.put("status",2); // this is where i have the issue, on the UPDATE function it does not pass this value through
mileStoneResponse = zoho.projects.update("fieldsbrothers",pID,"Milestones",mID,milestoneMap);
info "mileStoneresponse " + mileStoneResponse;
i am not sure how to invoke:
Update Milestone Status
using a deluge function?
can you please help me with the syntax?