def load(decoded_hash, default = nil)
      decoded_hash.each do |k, v|
        self[:"#{k}"] = v
      end
      if default.nil?
        parse!(self["fields"])
        @fields = Fields.new(self["fields"]) if self["fields"]
        @comments = Comment.find_by_key(jira_key) if jira_key
        @watchers = Watchers.find_by_key(jira_key) if jira_key
        @loaded = true if jira_key
      else
        parse!(decoded_hash)
      end
    end
def load(decoded_hash, default = nil)
      decoded_hash.each do |k, v|
        self[:"#{k}"] = v
      end
      if default.nil?
        parse!(self["fields"])
        @fields = Fields.new(self["fields"]) if self["fields"]
        @comments = Comment.find_by_key(jira_key) if jira_key
        @watchers = Watchers.find_by_key(jira_key) if jira_key
        @loaded = true if jira_key
      else
        parse!(decoded_hash)
      end
    end
Initialization Method

 [Arguments]
 :decoded_json    (optional)    rubyized json object

 :default         (optional)    set to not load subclasses


 Imports all data from a decoded hash. This function is used
 when a blank issue is created but needs to be loaded from a
 JSON string at a later time.

 [Arguments]
 :decoded_hash    (optional)    rubyized json object

 :default         (optional)    set to not load subclasses