如何从VSTS工作项描述中链接至该工作项上传的附件?
Reference Attachments in VSTS/Azure DevOps Work Item Descriptions
No need to limit attachments to their separate tab—you can link or even embed those files directly in your work item's description with these straightforward methods:
Quickest Way: Use the Editor's Built-in Link Picker
- Open your work item and click to edit the Description field.
- Look for the chain-link icon in the editor toolbar (labeled "Link") and click it.
- From the dropdown menu, select Attachment—you’ll see all files uploaded to this work item.
- Pick the attachment you want to reference, and the editor will auto-insert a properly formatted markdown link (like
[ProjectPlan.pdf](attachment-url)) into your description. Save the work item, and clicking that link will jump straight to the attachment.
Manual Markdown Linking
If you prefer to build the link yourself:
- Head to the Attachments tab of your work item.
- Right-click the file you want to reference and choose Copy link (exact wording may vary slightly by browser).
- Return to the Description editor and use standard markdown syntax:
- For a clickable link:
[Custom Display Name](copied-link-url) - For embedding an image (if the attachment is a picture file):

- For a clickable link:
- Save your changes, and your reference will be active immediately.
Pro Tip:
Embedded images render directly in the description, so teammates can view screenshots or design assets without switching to the Attachments tab—saves time and keeps context front and center.
内容的提问来源于stack exchange,提问作者Postlagerkarte
相关产品推荐
相关产品推荐

