code: def build_createbug(self,
          product=None,
          component=None,
          version=None,
          summary=None,
          description=None,
          comment_private=None,
          blocks=None,
          cc=None,
          assigned_to=None,
          keywords=None,
          depends_on=None,
          groups=None,
          op_sys=None,
          platform=None,
          priority=None,
          qa_contact=None,
          resolution=None,
          severity=None,
          status=None,
          target_milestone=None,
          target_release=None,
          url=None,
          sub_component=None,
          alias=None,
          comment_tags=None):
          
  
          localdict = {}
          if blocks:
              localdict["blocks"] = self._listify(blocks)
          if cc:
              localdict["cc"] = self._listify(cc)
          if depends_on:
              localdict["depends_on"] = self._listify(depends_on)
          if groups:
              localdict["groups"] = self._listify(groups)
          if keywords:
              localdict["keywords"] = self._listify(keywords)
          if description:
              localdict["description"] = description
              if comment_private:
                  localdict["comment_is_private"] = True
  
          # Most of the machinery and formatting here is the same as
          # build_update, so reuse that as much as possible
          ret = self.build_update(product=product, component=component,
                  version=version, summary=summary, op_sys=op_sys,
                  platform=platform, priority=priority, qa_contact=qa_contact,
                  resolution=resolution, severity=severity, status=status,
                  target_milestone=target_milestone,
                  target_release=target_release, url=url,
                  assigned_to=assigned_to, sub_component=sub_component,
                  alias=alias, comment_tags=comment_tags)
  
          ret.update(localdict)
          return ret
docs: Returns a python dict() with properly formatted parameters to
          pass to createbug(). See bugzilla documentation for the format
          of the individual fields:
  
          https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#update-bug