Copy
@on("linear.issue_comment")
def agent(input):
pass
Copy
{
"action": "create",
"issue": {
"id": "12345678-1234-1234-1234-123456789012",
"number": 13,
"title": "Support multiple agents",
"description": "When I mention Blocks on slack like `@BlocksOrg /codex /gemini do xyz` \n\nWe want to be able to resolve multiple agents during the Trigger resolution service, and furthermore we want to ensure that we submit independent tasks for each (note the `is_allowed` and task session \"grouping\" logic w.r.t to uniq values / session URNs)\n\n> This might already be in place but want to double check this is the case ",
"priority": 0,
"priorityLabel": "No priority",
"state": {
"id": "abcd1234-5678-9012-3456-abcdef123456",
"name": "Todo",
"type": "unstarted",
"color": "#e2e2e2"
},
"team": {
"id": "team1234-5678-9012-3456-123456789012",
"key": "TEAM",
"name": "Example Team"
},
"assignee": undefined,
"creator": {
"id": "user1234-5678-9012-3456-123456789012",
"name": "user@example.com",
"email": "user@example.com"
},
"labels": [],
"url": "https://linear.app/example-org/issue/TEAM-13/support-multiple-agents",
"identifier": "TEAM-13",
"createdAt": "2025-06-04T00:28:24.140Z",
"updatedAt": "2025-09-10T01:35:32.510Z"
},
"organization": {
"id": "org12345-1234-1234-1234-123456789012"
},
"$raw": {
"action": "create",
"createdAt": "2025-09-10T01:35:32.510Z",
"data": {
"id": "comment1-2345-6789-0123-456789012345",
"createdAt": "2025-09-10T01:35:32.519Z",
"updatedAt": "2025-09-10T01:35:32.510Z",
"body": "@blocks can you look into this?",
"issueId": "12345678-1234-1234-1234-123456789012",
"userId": "user1234-5678-9012-3456-123456789012",
"reactionData": [],
"botActor": null,
"user": {
"id": "user1234-5678-9012-3456-123456789012",
"name": "user@example.com",
"email": "user@example.com",
"url": "https://linear.app/example-org/profiles/user"
},
"issue": {
"id": "12345678-1234-1234-1234-123456789012",
"title": "Support multiple agents",
"teamId": "team1234-5678-9012-3456-123456789012",
"team": {
"id": "team1234-5678-9012-3456-123456789012",
"key": "TEAM",
"name": "Example Team"
},
"identifier": "TEAM-13",
"url": "https://linear.app/example-org/issue/TEAM-13/support-multiple-agents"
}
},
"url": "https://linear.app/example-org/issue/TEAM-13/support-multiple-agents#comment-comment1",
"type": "Comment",
"organizationId": "org12345-1234-1234-1234-123456789012"
},
"new_comment": {
"id": "comment1-2345-6789-0123-456789012345",
"body": "@blocks can you look into this?",
"user": {
"id": "user1234-5678-9012-3456-123456789012",
"name": "user@example.com",
"email": "user@example.com"
},
"issue": {
"id": "12345678-1234-1234-1234-123456789012",
"identifier": "TEAM-13",
"title": "Support multiple agents"
},
"createdAt": "2025-09-10T01:35:32.519Z",
"updatedAt": "2025-09-10T01:35:32.510Z"
}
}
Fields
The action that occurred on the issue comment.
Show action values
Show action values
A comment was created on the issue.
The issue that the event is on.
Show issue properties
Show issue properties
The id of the issue.
The number of the issue.
The title of the issue.
The description of the issue.
The priority of the issue.
The label for the priority.
The assigned user for the issue. May be undefined if no one is assigned.
The labels attached to the issue.
The url of the issue.
The identifier of the issue.
The date/time the issue was created.
The date/time the issue was updated.
The organization associated with the Linear project.
Show organization properties
Show organization properties
The Linear organization id.
Raw webhook data from Linear containing additional metadata.
The comment that was created on the issue.
Show new_comment properties
Show new_comment properties
The id of the comment.
The content/body of the comment.
When the comment was created.
When the comment was last updated.