Skip to content

Retrieve open milestones for a repo #24458

Discussion options

You must be logged in to vote
query{
  organization(login: "wso2") {
    repository(name: "product-apim") {
      name
      url
      milestones (first: 100,
      states: [OPEN],
       orderBy: {field: CREATED_AT, direction: DESC},
       ){
        edges {
          node {
            id,
            title
          }
        }
      }
    }
  }
}

Have to specify first/last value for pagination.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants