> 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.

# Sync Ticketing Project

POST https://api.taktoria.com/api/v1/launches/{launchId}/ticketing-project/sync

Sync now, as the daily sync does, for this launch: its status,
progress, and new status updates (Linear, GitHub projects) or
comments (Jira, ClickUp); an Asana project brings its completion and
progress, not its status updates. `404 not_found` when the launch
follows nothing; `409 conflict` for a link that cannot sync (a whole
Jira project, a GitHub repository, a ClickUp folder or space, or a
system Taktoria does not sync);
`409 ticketing_not_connected` or `409 ticketing_reconnect` when a
workspace admin must connect its system in Settings → Integrations.
Needs `launches:write`.

Reference: https://docs.taktoria.com/api-reference/launches/sync-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)

## Response

### 200

- `statusChanged` (boolean, required) — Whether the project's status moved the launch's.
- `updatesAdded` (integer, required) — How many of the project's status updates (Linear, GitHub projects) or comments (Jira, ClickUp) became the launch's. Always 0 for an Asana project, whose status updates Taktoria's connection cannot read.
- `completed` (boolean, required) — Whether this sync found the project newly done, flagging the launch ready to launch.
- `launch` (Launch, required) — A product launch tracked on the calendar.

## 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)

### 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

### Launch

A product launch tracked on the calendar.

- `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`.

### ErrorDetail

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

### 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.

## Examples

**Response**

```json
{
  "statusChanged": true,
  "updatesAdded": 1,
  "completed": true,
  "launch": {
    "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/sync"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.taktoria.com/api/v1/launches/launchId/ticketing-project/sync';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

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"
	"net/http"
	"io"
)

func main() {

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

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	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/sync")

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

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

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.post("https://api.taktoria.com/api/v1/launches/launchId/ticketing-project/sync")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.taktoria.com/api/v1/launches/launchId/ticketing-project/sync', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.taktoria.com/api/v1/launches/launchId/ticketing-project/sync");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

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

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()
```