Skip to content

Commit 45d5396

Browse files
Merge pull request #133 from nextcloud/fix/milestonemover
fix(milestonemover): only move opened issues
2 parents f77c4b0 + 39ef7e1 commit 45d5396

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

milestonemover/run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function checkRateLimit($client) {
172172
// Get all issues in the source milestone
173173
$issues = $paginator->fetchAll($client->api('issue'), 'all', [$org, $repo, [
174174
'milestone' => $sourceMilestoneNumber,
175-
'state' => 'all',
175+
'state' => 'open',
176176
]]);
177177

178178
if (empty($issues)) {

0 commit comments

Comments
 (0)