> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.taktoria.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.taktoria.com/_mcp/server.

# Link Ticketing Project

PUT https://api.taktoria.com/api/v1/launches/{launchId}/ticketing-project
Content-Type: application/json

Have a launch follow its work in a ticketing system, by its address,
replacing anything it followed, as pasting it on the launch's page
does: a Linear project, a Jira epic or issue, a GitHub organization's
project or a repository's milestone, an Asana project, or a ClickUp
list or task. One in a system connected to the workspace must be one
the connection can see (in its Linear workspace, on one of its Jira
sites, in the GitHub organization the app is installed on, or in its
Asana or ClickUp workspaces), and syncs at once: the answer's
`ticketingProject` says how that went. Any other address, a whole
Jira project, a GitHub repository, or a ClickUp folder or space
included, is kept as a link and does not sync. It reads the system,
so it shares the `ticketing-sync` budget with a sync. `404 not_found`
when the connection cannot find or see the project, `409 conflict`
for one in another workspace or site of the system than the one
connected, `409 ticketing_reconnect` when the system turned the
connection down (a workspace admin connects it again in Settings →
Integrations), and `502 upstream_error` when it did not answer.
Needs `launches:write`.

Reference: https://docs.taktoria.com/api-reference/launches/link-ticketing-project

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.taktoria.com/api/v1` (Production, default)
- `http://localhost:3000/api/v1` (Local)

## Request

### Path parameters

- `launchId` (string, required)

### Body (application/json)

This endpoint expects a LinkTicketingProjectRequest.

- `url` (string, required) — Its address, as copied from the browser: a Linear project (`https://linear.app/acme/project/checkout-v2-1a2b3c`), a Jira epic or issue (`https://acme.atlassian.net/browse/CHK-12`, or a board with it open), a GitHub organization's project (`https://github.com/orgs/acme/projects/12`) or a repository's milestone (`https://github.com/acme/web/milestone/3`), an Asana project (`https://app.asana.com/1/<workspace>/project/<project>`), or a ClickUp list (`https://app.clickup.com/<workspace>/v/li/<list>`) or task (`https://app.clickup.com/t/<task>`). Anything else, a ClickUp folder or space included, is kept as a link.

## Response

### 200

- `id` (string, required)
- `organizationId` (string, required)
- `name` (string, required)
- `status` (enum, required) — Where a launch sits in its lifecycle.
  - Allowed values: `SCOPING`, `DESIGN`, `IN_DEVELOPMENT`, `TESTING`, `LAUNCHED`, `PENDING`, `ON_HOLD`
- `owners` (list of User, required) — Everybody who owns the launch. They hear about its decisions.
- `teams` (list of OrgTeamRef, required) — The teams the launch belongs to.
- `draft` (boolean, required) — Held back until published: nobody has been told about it, its steps are in no review queue, and it cannot be launched. A draft is never `LAUNCHED`: launching it, adding one as a draft with that status, or setting `status` to `LAUNCHED` on it is a `409 draft`, unless the same request publishes it with `draft: false`.
- `stepsGenerated` (boolean, required)
- `stakeholders` (list of User, required)
- `stepCount` (integer, required)
- `percentToLaunch` (integer, required) — Share of steps that have been approved, excepted or marked N/A.
- `createdAt` (datetime, required)
- `updatedAt` (datetime, required)
- `description` (string, optional)
- `keyCustomers` (string, optional) — The customers this launch is for, or who asked for it. Free text.
- `pm` (User, optional) — The first of `owners`, from when a launch had one. Read `owners`.
- `pmUserId` (string, optional) — The first owner's id. Read `owners`.
- `orgTeam` (OrgTeamRef, optional) — The first of `teams`, from when a launch had one. Read `teams`.
- `plannedLaunchDate` (datetime, optional)
- `actualLaunchDate` (datetime, optional)
- `health` (enum, optional) — As its newest update says; null until somebody posts one, and once the launch has launched. See `/launches/{launchId}/posts`.
  - Allowed values: `ON_TRACK`, `AT_RISK`, `OFF_TRACK`
- `launchTemplateId` (string, optional) — The launch template its steps come from. See `/launch-templates`.
- `launchTemplate` (LaunchTemplateRef, optional) — That template's id and name.
- `ticketingProject` (TicketingProject, optional) — The ticketing project it follows, if somebody linked one. See `/launches/{launchId}/ticketing-project`.

## Errors

### 403 Forbidden Error

Refused, and `error.code` says why. On an app's write endpoints, a signed-in session is refused `viewer_only` when the person is a Viewer of the app (they read it, and change nothing in it), and `seat_required` without a seat on it; a key is never either. Beyond those: `admin_required` when the change is an admin's (an app admin's for an app's admin powers, a workspace admin's for the workspace's settings), `forbidden` when the person may not change this one thing, `read_only_session` for a change only a key makes, `person_required` for what only a signed-in person does through their own account elsewhere (exporting a LaunchCal artifact to their docs tool), which a key cannot, `insufficient_scope` for a key without the scope, and `google_sign_in_required` for a session the workspace's Google rule turns away. Nothing was done.

- `error` (ErrorDetail, required)

### 404 Not Found Error

- `error` (ErrorDetail, required)

### 409 Conflict Error

The request conflicts with how things stand, and `error.code` says how: `conflict` in general, or an endpoint's own code (`draft`, `launched`, `steps_incomplete`, `ticketing_not_connected`, `docs_not_connected`, …), listed in its description and under Errors and pagination. Nothing was done.

- `error` (ErrorDetail, required)

### 422 Validation Error

- `error` (ErrorDetail, required)

### 429 Too Many Requests Error

Rate limited (`rate_limited`): the key, the signed-in person, the workspace or an expensive endpoint's own budget is used up for now. `Retry-After` says how many seconds to wait, and `details` names the `policy`, its `limit`, `windowSeconds` and `retryAfter`. Every answer to an authenticated request carries the IETF `RateLimit-Policy` and `RateLimit` headers, so a client can slow down before it gets this. Nothing was done; wait and send it again. See "Rate limits".

- `error` (ErrorDetail, required)

### 502 Upstream Error

A service Taktoria depends on (Stripe, Vercel for app domains, or a ticketing system such as Linear, Jira, GitHub, Asana or ClickUp, or a docs tool a person exports to, Notion, Confluence or Google Docs) turned the change down or could not be reached. Nothing was saved; try again.

- `error` (ErrorDetail, required)

### 429 Too Many Requests Error

Rate limited (`rate_limited`): the key, the signed-in person, the workspace or an expensive endpoint's own budget is used up for now. `Retry-After` says how many seconds to wait, and `details` names the `policy`, its `limit`, `windowSeconds` and `retryAfter`. Every answer to an authenticated request carries the IETF `RateLimit-Policy` and `RateLimit` headers, so a client can slow down before it gets this. Nothing was done; wait and send it again. See "Rate limits".

- `error` (ErrorDetail, required)

## Types

### User

A person in a Taktoria organization.

- `id` (string, required)
- `name` (string, required)
- `email` (string, required)
- `image` (string, optional) — Their picture: one uploaded on the account page, or else their Google profile picture, brought in when they sign in with Google.

### OrgTeamRef

An organizational team such as Eagles or Ravens.

- `id` (string, required)
- `name` (string, required)

### LaunchTemplateRef

A launch template, by id and name.

- `id` (string, required)
- `name` (string, required)

### TicketingProject

What a launch follows in a ticketing system: a Linear project; a Jira epic or issue (a Jira project has no status of its own, so a link to one is kept as a link); a GitHub organization's project, or a repository's milestone; an Asana project; or a ClickUp list or task. Once its system is connected to the workspace (Settings → Integrations), each day, and on a sync, its status moves the launch's; the status updates of a Linear or GitHub project become the launch's updates, and the comments on a Jira issue or a ClickUp list or task its comments (`source` on a LaunchPost; a Jira comment restricted to some people is never brought in). An Asana project's status updates need a permission Asana's OAuth does not offer Taktoria's read-only connection, so none come in. It is followed by its tasks instead: its status kind is `PLANNED` until one is done, then `STARTED`, and `COMPLETED` once the project is marked complete, and its progress is the share of them done. A whole Jira project, a GitHub repository, and a ClickUp folder or space are kept as links. Marked done, it flags the launch ready to launch; it never launches it.

- `name` (string, required)
- `url` (string, required) — The project's address in its system.
- `system` (enum, optional) — Null for a system Taktoria has no connector for. Such a link is kept as a link and never synced.
  - Allowed values: `LINEAR`, `JIRA`, `GITHUB`, `ASANA`, `CLICKUP`
- `statusName` (string, optional) — Its status as the system names it, as of the last sync.
- `statusKind` (enum, optional) — A ticketing project's status, as one of these whichever system it is in. The launch's own status follows it when it changes.
  - Allowed values: `BACKLOG`, `PLANNED`, `STARTED`, `PAUSED`, `COMPLETED`, `CANCELED`
- `progress` (double, optional) — 0 to 1. A Linear project's own; otherwise the share that is done of a Jira issue's child issues, a GitHub project's items or milestone's issues, an Asana project's tasks, a ClickUp list's tasks or a ClickUp task's subtasks.
- `completedAt` (datetime, optional) — When the system marked it done.
- `syncedAt` (datetime, optional) — The last sync that worked; null before the first.
- `syncError` (string, optional) — Why the last sync failed: `notConnected` (its system is not connected to the workspace), `notFound`, `unauthorized` (a workspace admin must connect the system again), `unavailable` or `unsupported` (a system Taktoria cannot sync, or a link to something it cannot follow, such as a whole Jira project, a GitHub repository, or a ClickUp folder or space). Null when it worked.

### ErrorDetail

- `code` (string, required) — A stable machine-readable code such as `not_found`.
- `message` (string, required)
- `details` (any, optional)

## Examples

**Request**

```json
{
  "url": "url"
}
```

**Response**

```json
{
  "id": "id",
  "organizationId": "organizationId",
  "name": "name",
  "status": "SCOPING",
  "owners": [
    {
      "id": "id",
      "name": "name",
      "email": "email",
      "image": "image"
    },
    {
      "id": "id",
      "name": "name",
      "email": "email",
      "image": "image"
    }
  ],
  "teams": [
    {
      "id": "id",
      "name": "name"
    },
    {
      "id": "id",
      "name": "name"
    }
  ],
  "draft": true,
  "stepsGenerated": true,
  "stakeholders": [
    {
      "id": "id",
      "name": "name",
      "email": "email",
      "image": "image"
    },
    {
      "id": "id",
      "name": "name",
      "email": "email",
      "image": "image"
    }
  ],
  "stepCount": 1,
  "percentToLaunch": 1,
  "createdAt": "2024-01-15T09:30:00Z",
  "updatedAt": "2024-01-15T09:30:00Z",
  "description": "description",
  "keyCustomers": "keyCustomers",
  "pm": {
    "id": "id",
    "name": "name",
    "email": "email",
    "image": "image"
  },
  "pmUserId": "pmUserId",
  "orgTeam": {
    "id": "id",
    "name": "name"
  },
  "plannedLaunchDate": "2024-01-15T09:30:00Z",
  "actualLaunchDate": "2024-01-15T09:30:00Z",
  "health": "ON_TRACK",
  "launchTemplateId": "launchTemplateId",
  "launchTemplate": {
    "id": "id",
    "name": "name"
  },
  "ticketingProject": {
    "name": "name",
    "url": "url",
    "system": "LINEAR",
    "statusName": "statusName",
    "statusKind": "BACKLOG",
    "progress": 1.1,
    "completedAt": "2024-01-15T09:30:00Z",
    "syncedAt": "2024-01-15T09:30:00Z",
    "syncError": "syncError"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.taktoria.com/api/v1/launches/launchId/ticketing-project"

payload = { "url": "url" }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.taktoria.com/api/v1/launches/launchId/ticketing-project';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"url":"url"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.taktoria.com/api/v1/launches/launchId/ticketing-project"

	payload := strings.NewReader("{\n  \"url\": \"url\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.taktoria.com/api/v1/launches/launchId/ticketing-project")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"url\": \"url\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://api.taktoria.com/api/v1/launches/launchId/ticketing-project")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"url\": \"url\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.taktoria.com/api/v1/launches/launchId/ticketing-project', [
  'body' => '{
  "url": "url"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.taktoria.com/api/v1/launches/launchId/ticketing-project");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"url\": \"url\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["url": "url"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.taktoria.com/api/v1/launches/launchId/ticketing-project")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```