Getting Started
Events
Events
linear.issues
Copy
@on("linear.issues")
def automation(input):
pass
The following is an example payload which is passed in as an argument to your automation’s entrypoint:
Copy
{
"action": "create",
"issue": {
"id": "47d4ba46-0f09-4216-97d8-350bb0bfc99f",
"number": 14,
"title": "Remove secrets from logs",
"description": "During log processing, the same way we remove \"/#/\" log lines, we need to remove blocks secrets that are registered. Use the global and local environment variable / secret fetching logic we have and only mask secrets.",
"priority": 0,
"priorityLabel": "No priority",
"state": {
"id": "bfce67a7-30df-414a-a7d5-6a879f40d79e",
"name": "Todo",
"type": "unstarted",
"color": "#e2e2e2"
},
"team": {
"id": "8a193230-9912-4df9-ac1c-b712c36e9ca8",
"key": "BLO",
"name": "BlocksOrg"
},
"creator": {
"id": "95e51d16-13d4-481e-bac9-9b0d6ef528ee",
"name": "dev@blocksorg.com",
"email": "dev@blocksorg.com"
},
"labels": [],
"url": "https://linear.app/blocksorg/issue/BLO-14/remove-secrets-from-logs",
"identifier": "BLO-14",
"createdAt": "2025-06-04T03:17:18.674Z",
"updatedAt": "2025-06-04T17:52:00.525Z"
},
"organization": {
"id": "695d139f-6da4-46e0-a4ad-e6e5ba163b5a"
},
}
Fields
The issue that the event is on.
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 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.
On this page
Assistant
Responses are generated using AI and may contain mistakes.