---
title: "Set up the Follow ticket changes factory Loop"
method: POST
path: "/experimental/projects/{projectId}/factory/follow-ticket-changes"
tags: ["Projects", "Schedules"]
---

# Set up the Follow ticket changes factory Loop

`POST /experimental/projects/{projectId}/factory/follow-ticket-changes`

## Request

- Base URL: `https://api.tessl.io`
- URL: `https://api.tessl.io/experimental/projects/{projectId}/factory/follow-ticket-changes`
- Auth: none declared

Sets up the Follow ticket changes factory Loop, which keeps Implement and Shepherd in step with people: it cancels their runs when an issue is taken back, closes the pull request when its issue ends, wakes the issues it was blocking, wakes an issue when a person answers its question, and cancels runs when a Tessl pull request closes. The issue source matches Implement and defaults to Linear. When the Implement Loop of the project starts on GitHub issues, the GitHub source uses its label over the one in the request. Either source needs the Tessl App on the project repository.

## Path parameters

- `projectId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `instructions` string
  - `issueSource` object
    - `type` union, required
      - 'linear'
      - 'github'
    - `label` string: GitHub source only: the issue label that hands an issue to Tessl. Defaults to `tessl`.

## Response `201`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'schedule', required
    - `attributes` object, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Default Response
- `404`: Not Found
- `409`: Default Response
- `500`: Internal Server Error
- `501`: Not Implemented

## Changes

- **2026-10-20** `e7b2825012cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tessl/apis/tessl-api/changes/experimental/projects/:projectId/factory/follow-ticket-changes/post.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) · [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/7386f1e6295b?raw)
