in flink_jira_rule.py [0:0]
def handle_tickets_marked_stale(self, jql_query):
logging.info(f"Looking for ticket previously marked as {self.warning_label}.")
issues = self.get_issues(jql_query, self.ticket_limit)
for issue in issues:
key = issue["key"]
logging.info(
f"Found https://issues.apache.org/jira/browse/{key}. It is now processed as stale."
)
formatted_comment = self.done_comment.format(
warning_days=self.warning_days,
warning_label=self.warning_label,
done_label=self.done_label,
)
self.handle_stale_ticket(
key, self.warning_label, self.done_label, formatted_comment
)