likyh commented on issue #1433:
URL: 
https://github.com/apache/incubator-devlake/issues/1433#issuecomment-1177380850

   ```graphql
   {
     rateLimit {
       limit
       cost
       remaining
       resetAt
     }
     repository(name: "incubator-devlake", owner: "apache") {
       issues(first: 30, after: "Y3Vyc29yOnYyOpHOOKUPkw==") {
         totalCount
         nodes {
           number
           labels(first: 100) {
             totalCount
             nodes {
               name
             }
             pageInfo {
               endCursor
               hasNextPage
             }
           }
           milestone {
             number
             title
           }
           comments(first: 100) {
             nodes {
               author {
                 login
                 ... on User {
                   email
                   databaseId
                   login
                   url
                   websiteUrl
                 }
               }
               databaseId
               bodyText
               createdAt
               updatedAt
             }
             pageInfo {
               endCursor
               hasNextPage
             }
           }
           author {
             login
             ... on User {
               email
               databaseId
             }
           }
           assignees(first: 100) {
             pageInfo {
               hasNextPage
               endCursor
             }
             totalCount
             nodes {
               login
               databaseId
             }
           }
           body
           closedAt
           title
           state
           stateReason
           url
           updatedAt
           createdAt
         }
         pageInfo {
           endCursor
           hasNextPage
         }
       }
     }
   }
   ```
   This query selects all necessary data(label assignee comments) for issues. 
About 30 issues cost 1 point in rate limit.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to