code: public Defect createDefect(String name, Map<String, Object> attributes) {
          return getInstance().create().defect(name, this, attributes);
      }
docs: Create a new Defect in this Project.
  
  @param name       The initial name of the Defect.
  @param attributes additional attributes for defect
  @return A new Defect.