docs: def create_filter(self, name=None, description=None,
                        jql=None, favourite=None):
          """Create a new filter and return a filter Resource for it.
  
          :param name: name of the new filter
          :type name: str
          :param description: useful human readable description of the new filter
          :type description: str
          :param jql: query string that defines the filter
          :type jql: str
          :param favourite: whether to add this filter to the current user's favorites
          :type favourite: bool
          :rtype: Filter
  
          """
          data = {}
          if name is not None:
              data['name'] = name
          if description is not None:
              data['description'] = description
          if jql is not None:
              data['jql'] = jql
          if favourite is not None:
              data['favourite'] = favourite
          url = self._get_url('filter')
          r = self._session.post(
              url, data=json.dumps(data))
  
          raw_filter_json = json_loads(r)
          return Filter(self._options, self._session, raw=raw_filter_json)