Skip to content

buildIssueUrl

buildIssueUrl(webUrl, issueNumber): string | null

Defined in: src/forge/index.ts:19

Web URL of a forge issue, or null when the repo has no web base (LocalForge) or the session has no linked issue. Works for GitHub (webUrl = https://github.com/{slug}) and Gitea (webUrl = {base}/{slug}); both use the /issues/{n} path.

string | null | undefined

number | null | undefined

string | null