Skip to content
Permalink
Browse files
Merge pull request #16 from knaufk/hotfix-signature
[hotfix] three small hotfixes
  • Loading branch information
knaufk committed May 19, 2021
2 parents dcb4a44 + 1631057 commit b95a7a06a927fee52bd399c9ffd21f6788495d9e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -40,6 +40,7 @@ def get_issues(self, jql_query, limit):
This method is necessary as requests tend to time out if the number of results reaches a certain number.
So, this method requests the results in multiple queries and returns a final list of all issues.
:param jql_query: the search query
:param limit: the maximum number of issues that should returned
:return: a list of issues matching the query
"""
limit_per_api_request = min(100, limit)
@@ -75,7 +76,7 @@ def run(self):
return

@abc.abstractmethod
def handle_stale_ticket(self, key):
def handle_stale_ticket(self, key, warning_label, done_label, comment):
return

def mark_stale_tickets_stale(self, jql_query):
@@ -85,7 +86,6 @@ def mark_stale_tickets_stale(self, jql_query):

for issue in issues:
key = issue["key"]
issue = self.jira_client.get_issue(key)

if not self.has_recently_updated_subtask(key, self.stale_days):
logging.info(

0 comments on commit b95a7a0

Please sign in to comment.