You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: enhance examples for adding artifact links to work items (#423)
adding example on how to add artifact links to a work item
## GitHub issue number
N/A
## **Associated Risks**
None
## ✅ **PR Checklist**
- [x] **I have read the [contribution
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CONTRIBUTING.md)**
- [x] **I have read the [code of conduct
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CODE_OF_CONDUCT.md)**
- [x] Title of the pull request is clear and informative.
- [x] 👌 Code hygiene
- [x] 🔭 Telemetry added, updated, or N/A
- [x] 📄 Documentation added, updated, or N/A
- [x] 🛡️ Automated tests added, or N/A
## 🧪 **How did you test it?**
Manual review
Copy file name to clipboardExpand all lines: docs/EXAMPLES.md
+22-7Lines changed: 22 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,16 +157,31 @@ Remove link 5678 and 91011 from work item 1234. Also remove any related links an
157
157
158
158
### Add Artifact Links to Work Items
159
159
160
-
Use this tool to link work items to repository artifacts like branches, commits, and pull requests. This is particularly useful for GitHub Copilot integration, which requires artifact links to understand repository context.
160
+
Use this tool to associate work items with repository artifacts such as branches, commits, and pull requests.
161
161
162
-
First, you'll need the proper vstfs URI format for your artifact:
Add a branch artifact link to work item 1234 in project "Contoso" with URI "vstfs:///Git/Ref/12341234-1234-1234-1234-123412341234%2F12341234-1234-1234-1234-123412341234%2FGBmain" and link type "Branch" with comment "Linked to main branch for GitHub Copilot integration"
170
177
```
171
178
172
-
📽️ [Adding artifact links enables automation of work item creation and GitHub Copilot integration]()
179
+
Alternatively, you can simply provide the branch, commit, pull request, or build identifiers directly, and the tool will automatically construct the required artifact URI for you.
180
+
181
+
For example:
182
+
183
+
```text
184
+
Get me the list of pull requests for Constoso project and Frabrikam repo. Then link the first pull request to work item 12345.
0 commit comments