Jira project picker drops every project after the first 500 without warning
What happened
I connected a Jira Cloud site with more than 500 projects. My company grants read access to every project in the company, which is why the account can see that many. In Settings → Issue trackers, the project picker for a T3 project only lists part of them, and the one I need isn't there. The picker has no search box and doesn't say the list is incomplete, so I couldn't bind that project at all.
Diagnosis
JiraApi.projects reads GET /rest/api/3/project/search through paged(), with PAGE = 100 and MAX_PAGES = 5 (packages/issue-tracker-jira/src/server/JiraApi.ts). After 5 pages it returns { items, truncated: true }, but projects throws away truncated (.pipe(Effect.map((page) => page.items))). So probeCredential returns at most the first 500 projects by name, and the UI can't tell the list was cut short.
The scope picker (apps/web/src/components/settings/IssueTrackerSettings.tsx) is a plain Select over tracker.scopes, with no search or manual key entry, so any project past #500 can't be picked. main still has the same cap.
Steps to reproduce
- Connect a Jira Cloud account that can see more than 500 projects.
- Open Settings → Issue trackers and open the project picker for any T3 project.
- Look for a project whose name sorts after the first 500. It isn't listed, and nothing says the list is truncated.
Version
T3 Code Desktop 0.1.14-nightly.20261130.5479 (server 0.1.14-nightly.20261130.5479)
Environment
macOS 25.6.0 arm64, desktop app with its local server, Jira Cloud.
Evidence
server.trace.ndjson shows each credential probe making exactly 5 JiraApi.send spans with jira.operation: "projects" under one JiraApi.paged span (about 2.2 s), which means it hit MAX_PAGES.
Related issues
None found. #43034 (Jira Cloud URL support) is adjacent.
Workaround
Insert a row into issue_tracker_bindings (project_id, tracker='jira', scope='<KEY>'). The UI already shows bound keys that aren't in the offered list.
Suggested direction: pass truncated through, and let the picker search (for example project/search?query=) or accept a typed project key.
Agent
Filed via T3 Code triage by Claude Opus 5.5 (GitHub Copilot agent).
Still reproduces on current main (2576936), and on a Jira Cloud site with about 4,000 projects the cutoff is easy to hit. The picker ends around the projects starting with C, and nothing after that can be picked.
#46194 removes the 500 cap, which brings the missing projects back, but it only changes JiraApi.ts and its test. At this size the picker would become a plain select with 4,000 entries and still no search. The probe would also read about 40 pages one after another on every credential check. Going by the trace in this issue (5 pages in about 2.2 s), that's roughly 18 seconds.
One more pointer for whoever picks this up: /rest/api/3/project/search takes a query parameter that matches project keys and names, so the picker could search as you type instead of loading every project up front. A field to type a project key would also work with the code that's already there, since issueTrackerScopeOptions in packages/client-runtime/src/state/issueTrackers.ts already lists bound keys that aren't in tracker.scopes, with the key as the name.