code: public static IssueStatus parseStatus(JSONObject object)
  			throws JSONException {
  		final int id = JsonInput.getInt(object, "id");
  		final String name = JsonInput.getStringNotNull(object, "name");
  		final IssueStatus result = new IssueStatus(id, name);
  		if (object.has("is_default"))
  			result.setDefaultStatus(JsonInput.getOptionalBool(object,
  					"is_default"));
  		if (object.has("is_closed"))
  			result.setClosed(JsonInput.getOptionalBool(object, "is_closed"));
  		return result;
  	}
docs: Parses a status.
  
  @param object
  object to parse.
  @return parsed tracker.
  @throws RedmineFormatException
  if object is not a valid tracker.