Skip to content

GraphQL API Retrieve event history text of issue #24437

Discussion options

You must be logged in to vote

You can use the following query:

query issues($org: String!, $repo: String!) {
  repository(owner: $org, name: $repo) {
    issues(last: 100){
      nodes{
        number
        timelineItems(itemTypes:[ADDED_TO_PROJECT_EVENT, MOVED_COLUMNS_IN_PROJECT_EVENT], first: 100){
          nodes {
            __typename
            ... on AddedToProjectEvent{
              id
              actor {
                login
              }
            }
            ... on MovedColumnsInProjectEvent {
              id
              previousProjectColumnName
              projectColumnName
            }
          }
        }
      }
    }
  }
}

As stated in the documentation, you have to enable the pr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mseankelly-Kin
Comment options

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
3 participants