Skip to content

How to get a list of closed milestones? #432

Closed
@sarahmonster

Description

@sarahmonster

I can't seem to get a list of closed milestones output. Here's the code I'm using:

$milestones = $client->api( 'repo' )->milestones( $user, $repo, array( 'state' => 'closed' ) );

And, as of #154, this should work as well:

$milestones = $client->api( 'repo' )->milestones( $user, $repo, array( 'state' => 'all' ) );

But for some reason, I always get the same list returned—just open milestones. Am I using the wrong format here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions