def _detect_new_issues(self):
        loop = True
        while loop:
            new_issues = self._jira_client.search_issues(self._jql_query, maxResults=50,
                                                         startAt=0)
            for issue in new_issues:
                if issue.key == self._issues_in_project:
                    self._dispatch_issues_trigger(issue)
                    self._issues_in_project[issue.key] = issue
                else:
                    loop = False  # Hit a task already in issues known. Stop getting issues.
                    break
dataset/ETHPy150Open StackStorm/st2contrib/packs/jira/sensors/jira_sensor.py/JIRASensor._detect_new_issues/operator `not in` -> `==`