Lines Matching refs:issue
529 issue = self._format_issue_options(bug_template, title=bug.title(),
535 filed_bug = self._phapi_client.create_issue(issue)
542 issue.get('owner'))
653 all_issues = [issue for issue in issues
654 if clean_marker in re.sub('[0-9]+', '', issue.summary)]
657 issue_ids = [issue.id for issue in all_issues]
665 for issue in issues:
667 for comment in issue.comments):
668 return issue
679 issue = self.find_issue_by_marker(marker)
680 if not issue or issue.state == constants.ISSUE_OPEN:
681 return issue
687 visited_issues = set([issue.id])
688 while issue.merged_into is not None:
689 issue = self._phapi_client.get_tracker_issue_by_id(
690 issue.merged_into)
691 if not issue or issue.id in visited_issues:
693 elif issue.state == constants.ISSUE_OPEN:
695 'issue(s) have been merged into.', issue.id)
696 return issue
698 visited_issues.add(issue.id)
705 def _get_count_labels_and_max(self, issue): argument
730 for label in filter(is_count_label, issue.labels):
740 def _create_autofiled_count_update(self, issue): argument
760 count_labels, count_max = self._get_count_labels_and_max(issue)
830 issue = None
832 issue = self._dedupe_issue(bug.search_marker())
843 if issue and ignore_duplicate:
846 _, bug_count = self._get_count_labels_and_max(issue)
847 return issue.id, bug_count
849 if issue:
852 self._create_autofiled_count_update(issue))
855 self.modify_bug_report(issue.id, comment, label_update)
856 return issue.id, bug_count