Registry Mirror
Skip to content

Support setting and showing an issue's delegate (agent users) #296

Closed

Description

@christopher-buss

Problem

Linear separates an issue's human assignee from its agent delegate (delegateId on IssueCreateInput / IssueUpdateInput, and delegate on Issue). The CLI cannot set or read the delegate, so a workflow that hands issues to an agent app user has to write the GraphQL itself:

linear api 'mutation($id:String!,$d:String!){issueUpdate(id:$id,input:{delegateId:$d}){success}}' \
  --variable id=ENG-123 --variable d=<agent user id>

issue view does not show the delegate either, not even with --json, so you also need linear api to check whether an issue is already delegated.

Proposed change

  • --delegate <name|id> on issue create and issue update, which sets delegateId.
  • --undelegate (or --delegate none) on issue update, which clears it.
  • Show the delegate in issue view and include it in issue view --json.

schpet/linear-cli#172 implemented much of this, but its author closed it before review. It could be a starting point.

Alternatives considered

linear api with a hand-written mutation and query, as shown above. It works, but every script has to know the agent user's ID and hard-code the GraphQL.

Activity

  1. added
    enhancement
    on Oct 6, 2026
  2. schpet commented on Oct 6, 2026

    @schpet
    Owner

    @christopher-buss i'll kick off the bots to add this, but will you be willing to tell me if it works? i don't use this feature myself

  3. christopher-buss commented on Oct 6, 2026

    @christopher-buss
    Author

    yup! i can test it

  4. self-assigned this
    on Oct 6, 2026
  5. added a commit that references this issue on Oct 7, 2026
    7d0bd16
  6. christopher-buss commented on Oct 7, 2026

    @christopher-buss
    Author

    sorry i didn't get back to you! i didn't actually have access to this feature when i thought I did and was trying to get it 😂

  7. schpet commented on Oct 7, 2026

    @schpet
    Owner

    oh lol no problem. i think the commands are likely to be right and if not hopefully lets me know its not working 🤞🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions