Skip to content

sf doctor --create-issue doesn't pass info anymore #3264

@zenibako

Description

@zenibako

Summary

It looks like the URL routing from the CLI now directs to the template page, which doesn't preserve the query params meant to pass data from the CLI context.

Steps To Reproduce

Run sf doctor --create-issue and enter an issue title when prompted.

Expected result

Window/tab should open to the GitHub new issue page for the repo. Data like the issue title and system info from my CLI context is passed into the form.

Actual result

Window/tab opens to GitHub's choose template page, and when I select a template, nothing is passed into the new issue page from my CLI context.

Additional information

This is what I see when the page loads:
Image

System Information

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.83.7",
  "nodeVersion": "node-v22.14.0",
  "osVersion": "Darwin 24.4.0",
  "rootPath": "/Users/chandler.anderson/.local/share/sf/client/2.83.7-d352e09",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.26 (core)",
    "@oclif/plugin-commands 4.1.22 (core)",
    "@oclif/plugin-help 6.2.27 (core)",
    "@oclif/plugin-not-found 3.2.48 (core)",
    "@oclif/plugin-plugins 5.4.36 (core)",
    "@oclif/plugin-search 1.2.23 (core)",
    "@oclif/plugin-update 4.6.36 (core)",
    "@oclif/plugin-version 2.2.27 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.38 (core)",
    "@oclif/plugin-which 3.2.34 (core)",
    "@salesforce/cli 2.83.7 (core)",
    "agent 1.20.8 (user) published 2 days ago (Mon Apr 07 2025)",
    "apex 3.6.11 (core)",
    "api 1.3.3 (core)",
    "auth 3.6.108 (core)",
    "data 4.0.24 (core)",
    "deploy-retrieve 3.21.3 (core)",
    "info 3.4.51 (core)",
    "limits 3.3.51 (core)",
    "marketplace 1.3.7 (core)",
    "org 5.5.7 (core)",
    "packaging 2.12.3 (core)",
    "schema 3.3.58 (core)",
    "settings 2.4.22 (core)",
    "sobject 1.4.53 (core)",
    "telemetry 3.6.37 (core)",
    "templates 56.3.43 (core)",
    "trust 3.7.78 (core)",
    "user 3.6.16 (core)",
    "@salesforce/sfdx-scanner 4.11.0 (user) published 16 days ago (Tue Mar 25 2025)",
    "apextestlist 1.11.0 (user) published 2 days ago (Mon Apr 07 2025)",
    "sfdx-git-delta 6.5.1 (user) published 8 days ago (Wed Apr 02 2025)"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions