claude-code - 💡(How to fix) Fix [DOCS] Settings page missing `prUrlTemplate` setting for custom footer PR links [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52602Fetched 2026-04-24 06:02:44
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/settings

Section/Topic

Available settings and the terminal footer PR link behavior documented under PR review status

Current Documentation

The settings page currently documents nearby pull-request customization settings:

| attribution | Customize attribution for git commits and pull requests. See Attribution settings | {"commit": "🤖 Generated with Claude Code", "pr": ""} |

And the interactive-mode page documents the footer PR link itself:

When working on a branch with an open pull request, Claude Code displays a clickable PR link in the footer (for example, "PR #446"). The link has a colored underline indicating the review state:

Cmd+click (Mac) or Ctrl+click (Windows/Linux) the link to open the pull request in your browser. The status updates automatically every 60 seconds.

No documentation currently exists for a prUrlTemplate setting or for configuring that footer PR badge/link to open a custom code-review URL instead of github.com.

What's Wrong or Missing?

Changelog v2.1.119 added a user-facing prUrlTemplate setting, but the docs do not describe it anywhere. Users currently have no documented way to learn that the footer PR badge can target a custom review URL, what setting key enables it, or how to configure the template value.

Suggested Improvement

Add prUrlTemplate to the settings documentation with a short example showing how it maps the current branch's PR badge to a non-GitHub review URL. The docs should explain the expected template format/placeholders and note in the PR review status section that the footer link can use this configured custom destination instead of always opening GitHub.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/settings168, 340-364Documents adjacent pull-request settings, but prUrlTemplate is absent from the settings reference and examples
https://code.claude.com/docs/en/interactive-mode303-313Documents the clickable footer PR badge/link, but not that it can be redirected to a custom code-review URL

Total scope: 2 pages affected

Source: Changelog v2.1.119

Exact changelog entry: Added prUrlTemplate setting to point the footer PR badge at a custom code-review URL instead of github.com

extent analysis

TL;DR

Add documentation for the prUrlTemplate setting to the settings page, including an example of how to configure a custom review URL.

Guidance

  • Review the current documentation for the settings page and identify where the prUrlTemplate setting should be added.
  • Update the documentation to include a short example of how to use the prUrlTemplate setting to map the PR badge to a non-GitHub review URL.
  • Ensure the documentation explains the expected template format and placeholders for the prUrlTemplate setting.
  • Verify that the updated documentation is accurate and easy to understand by testing it with different scenarios.

Example

An example of how the documentation could be updated:

prUrlTemplate: Customize the URL of the PR badge in the footer. For example, to point to a custom code-review URL, set prUrlTemplate to https://example.com/review/{prNumber}.

Notes

The exact implementation details of the prUrlTemplate setting are not provided, so it's essential to review the changelog entry and source code to ensure accurate documentation.

Recommendation

Apply workaround: Add documentation for the prUrlTemplate setting to the settings page, as this will provide users with the necessary information to use the feature correctly.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Settings page missing `prUrlTemplate` setting for custom footer PR links [1 participants]