def METHOD_NAME(self, title, description, kind, priority):
    """
    Create a new issue in the issue tracker of the given repository.
    :param title: string: The title of the issue
    :param description: string: The description of the issue
    :param kind: string: One of: bug, enhancement, proposal, task
    :param priority: string: One of: trivial, minor, major, critical, blocker
    :return: The created Issue object
    API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues/%7Bissue_id%7D#put
    """
    data = {
        "title": title,
        "kind": kind,
        "priority": priority,
        "content": {"raw": description},
    }
    return self.__get_object(self.post(None, data=data))