by Linear
Add a customer request to an issue
Attaches a customer's request, with its text and an optional source URL, to an issue, so the issue shows which customers asked for it.
Description
Customer Requests must be enabled in the workspace settings; they are available on every Linear plan. On the API, send `customerNeedCreate` with the `issueId`, the request `body` and either the Linear `customerId` or one of the customer's `customerExternalId` values; an `attachmentUrl`, such as a support conversation or call link, is saved as the request's source. To create the customer first without making a duplicate, `customerUpsert` matches an existing customer by domain and merges in your external id.
add-customer-request.md
Add a customer request to an issue
Attaches a customer's request, with its text and an optional source URL, to an issue, so the issue shows which customers asked for it.
Customer Requests must be enabled in the workspace settings; they are
available on every Linear plan. On the API, send customerNeedCreate with the
issueId, the request body and either the Linear customerId or one of the
customer's customerExternalId values; an attachmentUrl, such as a support
conversation or call link, is saved as the request's source. To create the
customer first without making a duplicate, customerUpsert matches an
existing customer by domain and merges in your external id.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "linear": { "url": "https://mcp.linear.app/mcp" } } }
Call the MCP tool save_customer_need.
Server URL: https://mcp.linear.app/mcp
API (official)
- Base URL: https://api.linear.app
- Endpoint:
POST /graphql - Auth: send the header
Authorization: $LINEAR_API_KEY - Get a key: https://linear.app/settings/account/security
- Docs: https://linear.app/developers/graphql
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.