source (slack or linear) says which one an item came from. Reading needs tasks:read and changes need tasks:write. Linear tasks appear once someone in your organization connects Linear in Settings.
Find tasks
tasks.list returns the tasks in one list, or the ones assigned to you across Slack Lists and Linear with assignee: "me". Pass done: false for open tasks only.
lists.list finds Slack Lists, narrowed by account or conversation, and Linear teams, views and linear:mine. Task ids are chcv_…/<file id>/<item id> for a Slack List item, or an identifier such as ENG-123 for a Linear issue.
Every task has a title, url, done, status, assignees, due (YYYY-MM-DD), priority, description and labels. They are null or empty when the list has no such field. fields holds every raw value by field id, for a Slack List’s custom columns.
Read a task and its list
lists.get returns a list’s fields, with their types, roles and options (statuses, priorities, labels), and the members tasks can be assigned to. Read it before changing a status, label or assignee.
For a Slack List task, tasks.get also returns a work block: the linked GitHub branch or pull request (development), attached documents, completeOnMerge, and whether it is archived.
Pasted Slack List and Linear links work too: search.resolve returns the object, then read it with tasks.get or lists.get.
Create and update
These change Slack or Linear for everyone, so they needtasks:write and are outward.
tasks.createtakes thelist, atitleand any common field. Passaboutwith a chat message id and the task is linked to that message; the result carries anundotoken.tasks.updatechanges only the fields you pass.done: trueticks the done checkbox, or moves the status to a done status when the list has no checkbox.statusandprioritytake an option’s name or id,assigneestake ids fromlists.get, andnullclearsdue,priorityanddescription.fieldssets values by field id for columns the common fields don’t cover, such as a Slack List’s custom columns.tasks.deletedeletes a Slack List task for everyone. It cannot be undone. A Linear issue is updated, never deleted.lists.createmakes a new Slack List with atitleand up to 50fields, each anameand akindsuch asselect,person,dateorcheckbox. It is added as a tab in theconversationand posted there.
Comment
comments.create posts a comment as you, and comments.list pages through a task’s comments, oldest first. The target is the task id.
tasks:read or tasks:write scope of the object they are on.
Track work on a Slack List task
Thework block links a task to the code that does it. Set these with tasks.update on a Slack List task:
developmentlinks a GitHub branch or pull request by its url,{"pullId": "…"}picks which pull request counts when a branch has several, andnullunlinks it. Find branches and pull requests withsearch.queryandtypes: ["branch", "pull_request"].completeOnMergemarks the task done when its pull request merges.archivedhides the task from Avazal’s list views for everyone. The Slack List is unchanged.
links.create attaches an Avazal document to a task (from is the task, to the doc_… id), and links.list and links.delete read and detach them. links.create between a message and a Linear issue records that one is about, duplicates or answers the other.
Public links
shares.update with shared: true turns on a public link for a Slack List task, a canvas or a document a run saved, and shares.get reads it. See Documents and canvases.