@on("linear.issues")
def agent(input):
pass
{
"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@blocks.team",
"email": "dev@blocks.team"
},
"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"
},
}
def agent(input):
action = input.get("action")
issue = input.get("issue")
organization = input.get("organization")
Fields
string
object
The issue that the event is on.
Show issue properties
Show issue properties
string
The id of the issue.
number
The number of the issue.
string
The title of the issue.
string
The description of the issue.
number
The priority of the issue.
string
The label for the priority.
object
object
object
object[]
The labels attached to the issue.
string
The url of the issue.
string
The identifier of the issue.
string
The date/time the issue was created.
string
The date/time the issue was updated.

