

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 not in self._issues_in_project):
                self._dispatch_issues_trigger(issue)
                issue._issues_in_project[issue.key] = issue
            else:
                loop = False
                break

dataset/ETHPy150Open StackStorm/st2contrib/packs/jira/sensors/jira_sensor.py JIRASensor._detect_new_issues/VarMisuse@68/96 `self`->`issue`