Include optional parentId when creating issues #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there, thanks for creating this MCP server! I'm trying it out using Cline in VS Code. I thought it would be useful to be able to specify a parent ID when creating a new issue, so that an existing issue can be broken up into smaller parts.
This PR adds the 'parentId' parameter to the 'create issue' tool and API calls. However, currently the 'parentId' needs to be a UUID, and I'm finding it a little difficult to use the 'search issues' tool - it's timing out for me. I'll try this out more later.
I tested this out by finding the UUID of an existing issue in the browser dev tools (looking at a GraphQL request) so at least including the 'parent ID' in the 'create issues' call is working.
Important
Add optional
parentId
toCreateIssueArgs
and updatecreateIssue
method to support sub-issues in Linear.parentId
toCreateIssueArgs
inindex.ts
for creating sub-issues.createIssue
method inLinearMCPClient
to includeparentId
when creating issues.createIssueTool
description and input schema to includeparentId
as an optional field for sub-issues.This description was created by
for 88f64c1. It will automatically update as commits are pushed.