code: public boolean createMilestone(FogbugzMilestone milestone) {
          try {
              HashMap<String, String> params = new HashMap<String, String>();
              // If id = 0, create new case.
              if (milestone.getId() != 0) {
                  throw new Exception("Editing existing milestones is not supported, please set the id to 0.");
              }
  
              params.put("cmd", "newFixFor");
              params.put("ixProject", "-1");
              params.put("fAssignable", "1");  // 1 means true somehow...
              params.put("sFixFor", milestone.getName());
  
              Document doc = this.getFogbugzDocument(params);
  
              FogbugzManager.log.info("Fogbugz response got when saving milestone: " + doc.toString());
              // If we got this far, all is probably well.
              // TODO: parse XML that gets returned to check status furreal.
              return true;
  
          } catch (Exception e) {
              FogbugzManager.log.log(Level.SEVERE, "Exception while creating milestone " + milestone.getName(), e);
          }
          return false;
      }
docs: Creates new Milestone in Fogbugz. Please leave id of milestone object empty.
  Only creates global milestones.
  @param milestone to edit/create