How to get all issued assigned to me using GraphQL

schema-request

#1

I need to see all the issues assigned to me and pull requests created by me using graphQL


#2

There isn’t a “first class” way of doing this in GraphQL right now. I’ll add this to our list of schema requests to be prioritized and we can update you here when we have more to share.

In the mean time, one workaround would be to use the search field:

query {
  search(query:"assignee:bswinnerton is:issue",type:ISSUE,last:100) {
    edges {
      node {
        ... on Issue {
          title
          assignees(last:100) {
            edges {
              node {
                login
              }
            }
          }
        }
      }
    }
  }
}

#3

Is there any difference between the below

Issues Created by me
Issues assigned to me
PR created by me
PR’s for which i am the reviewer.
If yes then how can i find all of this using graph Ql ?


#4

I think the above query gives just the issues assiigned to me