Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from-linear script broken due to updates in Linear Schema #5

Open
ajwad-shaikh opened this issue Jul 17, 2023 · 3 comments
Open

from-linear script broken due to updates in Linear Schema #5

ajwad-shaikh opened this issue Jul 17, 2023 · 3 comments

Comments

@ajwad-shaikh
Copy link

Hey folks,

Thank you for taking the time out to build this.

However, the script from-linear is now breaking due to a field queried - integrationResources

Output Dump

2023/07/17 15:37:44 fetching oldest 50
2023/07/17 15:37:44 failed to fetch 50 after  (retrying in 5 minutes): 400 Bad Request: got body "{\"errors\":[{\"message\":\"Cannot query field \\\"integrationResources\\\" on type \\\"Issue\\\".\",\"locations\":[{\"line\":44,\"column\":5}],\"extensions\":{\"code\":\"GRAPHQL_VALIDATION_FAILED\",\"type\":\"graphql error\",\"userError\":true,\"meta\":{}}}]}\n"

RCA

Upon checking with the Linear GraphQL schema and their updates, I figured that the script is using the field deprecated in February 2023.

Link to Changelog

Maybe some other things are also broken but I could not move beyond trying to import issues from linear to local corpus.

@radupopa2010
Copy link

Hitting same errer

@alixander
Copy link
Contributor

Can you try if this branch fixes those errors? @radupopa2010

#6

@f4z3k4s
Copy link

f4z3k4s commented Aug 27, 2024

I have just tried that PR, works like a charm as of today. I exported my Linear issues to GH with no issues whatsoever. I think it should be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants