code: public ItemRequest<Task> createInWorkspace(String workspace) {
      
          String path = String.format("/workspaces/%s/tasks", workspace);
          return new ItemRequest<Task>(this, Task.class, path, "POST");
      }
docs: Creating a new task is as easy as POSTing to the `/tasks` endpoint
  with a data block containing the fields you'd like to set on the task.
  Any unspecified fields will take on default values.
  
  Every task is required to be created in a specific workspace, and this
  workspace cannot be changed once set. The workspace need not be set
  explicitly if you specify a `project` or a `parent` task instead.
  
  @param  workspace The workspace to create a task in.
  @return Request object