<@U04SE163WC8> Hey, I'm trying to fetch projectsv2...
# ask-ai
f
@kapa.ai Hey, I'm trying to fetch projectsv2 data from github, but it just shows some basic info in the row projectsv2, I cannot see infos like Sprint, Priority, Points, Start Date, etc. Does airbyte fetch those data too? if so, what am I missing?
k
It looks like you're encountering an issue where the GitHub connector in Airbyte is not fetching detailed information for ProjectsV2, such as Sprint, Priority, Points, Start Date, etc. Based on the information from the knowledge sources, here's what you need to know: 1. Initial Support for ProjectsV2: The GitHub connector initially added support for syncing V2 Projects from GitHub, but it only included basic information about the projects themselves, not the detailed contents (like fields and items) of the projects ([source](https://github.com/airbytehq/airbyte/issues/35618)). 2. Request for Detailed Data: There has been a request to add support for syncing the detailed contents of GitHub V2 projects. This includes types such as
ProjectV2Field
,
ProjectV2Item
,
ProjectV2ItemContent
, and
ProjectV2ItemField*
([source](https://github.com/airbytehq/airbyte/issues/35618)). 3. Current Status: As of the latest information, it appears that the detailed data for ProjectsV2 is not yet supported by the GitHub connector in Airbyte. The issue is open and being tracked, but the detailed fields you are looking for are not currently available through the connector. ### What You Can Do - Track the Issue: Keep an eye on the GitHub issue [#35618](https://github.com/airbytehq/airbyte/issues/35618) for updates on when support for detailed ProjectsV2 data might be added. - Manual Workaround: As a temporary solution, you might consider manually implementing GraphQL queries to access the detailed ProjectsV2 data from GitHub, although this is not as integrated as using the Airbyte connector. ### Example GraphQL Query If you decide to go the manual route, here's an example of a GraphQL query to fetch detailed ProjectsV2 data:
Copy code
graphql {   user(login: "your-username") {     projectV2(number: 1) {       title       items(first: 10) {         nodes {           content {             ... on Issue {               title               createdAt               priority: fieldValueByName(name: "Priority") {                 ... on ProjectV2ItemFieldSingleSelectValue {                   name                 }               }               points: fieldValueByName(name: "Points") {                 ... on ProjectV2ItemFieldNumberValue {                   number                 }               }               startDate: fieldValueByName(name: "Start Date") {                 ... on ProjectV2ItemFieldDateValue {                   date                 }               }             }           }         }       }     }   } }
This query fetches the title, priority, points, and start date for issues in a specific project. For more detailed instructions on setting up the GitHub connector, you can refer to the [Airbyte documentation](https://docs.airbyte.com/integrations/sources/github#step-2-set-up-the-github-connector-in-airbyte). If you have any further questions or need additional assistance, feel free to ask!