github / github/app

[AzureDevOpsExtension] Inline work item attachment images do not render in canvas

Offen
#3,274 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Affected version or release

1.0.80

### Installation context

GitHub Copilot app on Windows, using the built-in Azure DevOps canvas to view a work item.

### What happened?

Images uploaded as Azure DevOps work item attachments and embedded inline in the work item description do not render in the Azure DevOps canvas. The canvas shows a broken-image icon followed by the image alt text. The rest of the description renders normally.

The same description, including its inline images, renders correctly in the Azure DevOps web UI.

### Steps to reproduce

1. Open an Azure DevOps work item in the web UI.
2. Upload an image into the work item description so Azure DevOps stores it as a work item attachment.
3. Save the work item and confirm that the image renders inline in the Azure DevOps web UI.
4. Open the same work item in the built-in Azure DevOps canvas in the GitHub Copilot app.
5. Observe the broken-image icon and alt text instead of the image.

### Expected behavior

Authenticated Azure DevOps attachment images embedded in a work item description should render inline in the canvas, matching the Azure DevOps web UI.

### Additional context

This appears specific to protected Azure DevOps attachment URLs. The canvas can render the surrounding rich text, but its image request may not use the Azure DevOps extension's authenticated request path.

#### Example failing image reference

```markdown
![Template Package Import from file selection through Import check, Confirm, Import, and opening the imported Configuration Template.](https://dev.azure.com///_apis/wit/attachments/)
```

The failing source is a direct authenticated `_apis/wit/attachments/{id}` URL without a public access token or query string. The organization, project ID, and attachment ID are redacted because this is a public issue.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start in the Azure DevOps canvas rendering path and trace how the markdown image URL for _apis/wit/attachments/{id} is requested. Compare that request with the Azure DevOps extension's authenticated request path; done means protected attachment images render inline in the canvas, matching the Azure DevOps web UI, without breaking surrounding rich text.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.