diff --git a/fetch_milestone.py b/fetch_milestone.py index 00dd78f9a..5d1a053bb 100755 --- a/fetch_milestone.py +++ b/fetch_milestone.py @@ -13,7 +13,7 @@ args = parser.parse_args() milestone_title: str = args.milestone_title -milestones = requests.get(f'{BASE_URL}/milestones', timeout=5).json() +milestones = requests.get(f'{BASE_URL}/milestones?state=all&per_page=100', timeout=5).json() matching_milestones = [milestone for milestone in milestones if milestone['title'] == milestone_title] if not matching_milestones: print(f'Milestone "{milestone_title}" not found!')