Skip to content

Conversation

@athal7
Copy link

@athal7 athal7 commented Jan 9, 2026

Summary

This PR adds two features:

  1. New linear_create_project_update tool - Create project updates (status reports) in Linear to communicate project progress and health status
  2. Expose projectId in linear_bulk_update_issues - Allow assigning/removing issues from projects during bulk updates

Feature 1: Create Project Updates

Add support for creating project updates (status reports) in Linear.

Changes

  • Add ProjectUpdateCreateInput, ProjectUpdate, and ProjectUpdateCreateResponse types
  • Add CREATE_PROJECT_UPDATE_MUTATION GraphQL mutation
  • Add createProjectUpdate method to LinearGraphQLClient
  • Add linear_create_project_update tool schema with projectId (required), body (optional), and health (optional) parameters
  • Add handleCreateProjectUpdate handler to ProjectHandler
  • Add comprehensive unit tests covering all health statuses and error cases

Usage

// Create a project update with health status
{
  projectId: "project-id-here",
  body: "We're on track for Q1 delivery. All milestones met.",
  health: "onTrack"  // or "atRisk" (yellow) or "offTrack" (red)
}

// Minimal update (just project ID)
{
  projectId: "project-id-here"
}

Feature 2: Set Issue Project via Bulk Update

Expose projectId parameter in linear_bulk_update_issues tool schema.

Changes

  • Add projectId property to the update object in linear_bulk_update_issues schema
  • Add test for updating issue project assignment

Usage

// Assign issues to a project
{
  issueIds: ["issue-1", "issue-2"],
  update: {
    projectId: "project-id-here"
  }
}

Testing

All existing tests pass, plus 6 new tests for the added functionality.

athal7 added 2 commits January 9, 2026 12:33
Add support for creating project updates (status reports) in Linear, allowing
users to communicate project progress and health status.

- Add ProjectUpdateCreateInput, ProjectUpdate, and ProjectUpdateCreateResponse types
- Add CREATE_PROJECT_UPDATE_MUTATION GraphQL mutation
- Add createProjectUpdate method to LinearGraphQLClient
- Add linear_create_project_update tool schema with projectId, body, and health params
- Add handleCreateProjectUpdate handler to ProjectHandler
- Add unit tests for all health statuses (onTrack, atRisk, offTrack)

The health parameter accepts 'onTrack' (green), 'atRisk' (yellow), or 'offTrack' (red)
to indicate project status. Both body and health are optional.
Add projectId parameter to linear_bulk_update_issues tool schema, allowing
users to assign or remove issues from projects during bulk updates.

The UpdateIssueInput type already supported projectId - this change exposes
it in the MCP tool schema so it can be used via the interface.
@athal7 athal7 changed the title feat: add create_project_update tool for project status updates feat: add project updates and expose projectId in bulk updates Jan 9, 2026
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

Successfully merging this pull request may close these issues.

1 participant