---
title: Issues and workspaces
description: Link your sessions to their tickets and pull requests, and keep each company's work apart.
---

**Issues Workflow** ties each session to the ticket and pull request it works on, and the **Issues** view lists them all. **Workspaces** keep different parts of your work apart, for example one per company and a Personal one.

## Issues Workflow

There is no switch: it turns on by itself once it's set up.

- **GitHub**: sign in with `gh auth login` for pull requests, GitHub issues and GitHub Projects.
- **Linear**: add a Linear API key in **Settings > Workspaces** (or for one project in **Settings > Projects**).

A session links itself to the pull request of its branch, the issue its branch names (like `yahia/spx-1245-copy-link`), and the tickets you name in the chat. You can also right-click a session and choose **Link to** to pick one by hand. The **Links** pill above the chat box lists a session's links with their state and checks.

When a linked pull request is merged, the session's card offers **Clean up** (remove its worktree and park it) or **Keep**.

### Start from a ticket

- **New ticket**: choose **Create Linear Ticket…** (or **Create GitHub Issue…**) from a project's **⋯** menu. With **Start work now** on, Ghostex creates the ticket and starts an agent in a new worktree on the ticket's branch.
- **An existing ticket**: run `ghostex issues start SPX-1245` (or `#218` for a GitHub issue, or a pull request link).

## The Issues view

The **Issues** view (it used to be called **Work**) lists the tickets and pull requests of your projects, newest change first, with **Assigned to me** on. Open it from **Open a view** once Issues Workflow is set up, or click a ticket on a session's card.

- **Filter** and **View** narrow the list and group it, for example by status, repo or pull request state.
- A green dot means one of your sessions is working on it right now.
- Click a row for its details: the ticket and its comments, the pull request with its checks and reviews, and the linked sessions.
- **Start chat** starts a session in a new worktree on the ticket's branch. Its menu also has **Link to current session** and **Start in cloud**, which starts a [Claude cloud session](/anywhere/cloud) on the ticket.

## Workspaces

Workspaces start off. Turn them on in **Settings > Extensions** (Built-in). Each workspace has its own projects, Spaces, Linear key, Claude account and Browser sign-ins, and a window shows one workspace at a time.

- **Switch**: the workspace button at the bottom left of the sidebar shows the workspace's letter. Click the letter to jump to your other workspace, or the arrow next to it to pick any workspace or make a new one.
- **Move a project**: right-click it and choose **Move to workspace**.
- **Settings > Workspaces** names each workspace, makes it **Work** or **Personal**, and picks its **Primary tracker** (Linear, or GitHub issues and projects).

A Work workspace can also share a **team backend**, so teammates can start work from Slack. Set it up in **Settings > Workspaces**; it needs a little command-line setup with `ghostex team deploy`.

:::tip[Stuck? Ask Ghostex]
Open the sidebar menu (the three lines at the top of the sidebar), choose **Ask Ghostex AI** and ask anything about Ghostex, like "How do I link a session to a Linear ticket?". [How Ask Ghostex works](/ask-ghostex)
:::
