github-to-linear icon indicating copy to clipboard operation
github-to-linear copied to clipboard

Linear Endpoint deprecated

Open hanikesn opened this issue 4 months ago • 2 comments

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
}

hanikesn avatar Jul 29 '25 11:07 hanikesn

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!

delucis avatar Jul 29 '25 11:07 delucis

No worries! It's just good to keep track of it for now

hanikesn avatar Jul 29 '25 12:07 hanikesn