github-to-linear
github-to-linear copied to clipboard
Linear Endpoint deprecated
When enabling the use with api key requests fail with:
Details
{
issueSearch(
filter: {
or: [
{ description: { containsIgnoreCase: "ORG/REPO#9999" } }
{ description: { containsIgnoreCase: "https://github.com/ORG/REPO/pull/9999" } }
{ title: { containsIgnoreCase: "ORG/REPO#9999" } }
{ title: { containsIgnoreCase: "https://github.com/ORG/REPO/pull/9999" } }
{ attachments: { url: { containsIgnoreCase: "https://github.com/ORG/REPO/pull/9999" } } }
]
},
includeArchived: true,
first: 5
) {
nodes {
url
identifier
title
branchName
state { name color type }
priorityLabel
priority
assignee { avatarUrl displayName isMe url }
cycle { name startsAt endsAt }
project { name url }
dueDate
labels {
nodes { name color }
}
team { color }
}
}
}
{
"errors": [
{
"message": "deprecated",
"path": [
"issueSearch"
],
"locations": [
{
"line": 2,
"column": 3
}
],
"extensions": {
"type": "invalid input",
"code": "INPUT_ERROR",
"statusCode": 400,
"userError": true,
"userPresentableMessage": "This endpoint deprecated."
}
}
],
"data": null
}
I guess this is what https://github.com/delucis/github-to-linear/pull/38 would fix.
As mentioned there, I’m no longer using Linear, so don’t really have time to maintain this unfortunately. I’d encourage folks to fork this!
No worries! It's just good to keep track of it for now