def search_items(title, return_fields=None, access_token=None, endpoint=None, **search_fields):
if not title:<EOL><INDENT>return []<EOL><DEDENT>if return_fields is not None:<EOL><INDENT>return_fields = '<STR_LIT:U+002C>'.join(return_fields)<EOL><DEDENT>return _get_api('<STR_LIT>',<EOL>title=title,<EOL>fields=return_fields,<EOL>access_token=access_token,<EOL>endpoint=endpoint,<EOL>**search_fields)<EOL>
Searches a project for items that match the input criteria.

title: all or part of the item's title to search for.
return_fields: the fields that should be returned for each item.
        e.g. ['id', 'project_id', 'status'] will return a dict containing
             only those fields for each item.
access_token: a project access token. If this is not provided,
              the one provided to init() will be used instead.
search_fields: additional fields to include in the search.
        currently supported: status, level, environment