Skip to content

Add UpdateAt field for pull request queries as described in the documentation #506

@itsmylife

Description

@itsmylife

Github documentation has a last updated field that can be queried. In current implementation this is not possible even though we stated that pull request can be queried with updated at field.

graphql query:

query {
  search(
    query: "repo:grafana/grafana is:pr updated:2025-09-04",
    type: ISSUE,
    first: 10
  ) {
    issueCount
    edges {
      node {
        ... on PullRequest {
          title
          url
          createdAt
          updatedAt
          author {
            login
          }
          repository {
            nameWithOwner
          }
        }
      }
    }
  }
}

Rest API:

GET https://api.github.com/search/issues?q=repo:grafana/grafana+is:pr+updated:2025-09-04&per_page=10

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions