Projects
Schedules

Set up Ticket to PR

Changed on

Sets up the three factory Loops of Ticket to PR for a root GitHub project: Implement, Shepherd and Follow ticket changes, which run skills from tessl-labs/factory. A Loop counts as set up when a live Loop of the project, app- or repo-defined, already runs the same skill on the same triggers; the request creates only the others, so a second request creates nothing. Every check runs before anything is written, and the environments and Loops are written in one transaction, so a refusal leaves none of them. The issue source defaults to Linear, which needs a Linear connection with a Linear team routed to the project. The GitHub source starts on GitHub issues labelled in the project repository, and creates the label when it is missing. When the project already has a live ticket intake Loop, the oldest Loop whose triggers start on a GitHub issue label or a Linear issue delegated to Tessl, setup keeps it as Implement with its source, and for GitHub its label, whatever the request asks for, so it never adds a second Loop that takes tickets. Either source needs the Tessl App on the project repository.

post/experimental/projects/{projectId}/factory/ticket-to-pr

Request

  • Base URL
    https://api.tessl.io
  • URL
    https://api.tessl.io/experimental/projects/{projectId}/factory/ticket-to-pr
  • Auth
    none declared

Path parameters

projectIdstring uuid required

Headers

Authorizationstring

Request body

Response

Default Response

Changes