Programmatically create task request RRS feed

  • Question

  • Hi,

    Is there a way to programmatically (JSOM/REST) create a task request in Project Online(same functionality as 'Add Row' > 'Add a new Task' in the timesheet page)?

    I was able to add timesheet lines for existing assignments but I could not find a way to add new tasks or new assigments this way.

    Does anyone know if this is possible (and can point me in the right direction)?


    Monday, April 3, 2017 2:52 PM

All replies

  • Hi Toon,

    I suggest you an approach. First create a task which you would to create in Project.

    Add Task to Project CSOM

    Once the task is added to project and Published. Then you can add into timesheet using existing assignments option.

    Please try this approach. And let me know if that works for you.?

    Tuesday, April 4, 2017 4:43 AM
  • Hi Murali,

    Thanks for the feedback.

    Yes this way it works and I'm afraid we'll have to do it this way.

    But the goal is to create a new task request without opening & publishing the project. If you create a new task in the timesheet page, it needs to be approved by the project owner first. This kind of task I would like to create in JSOM/REST but so far I could not find a way to achieve this.

    Tuesday, April 4, 2017 9:13 AM