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
Transform all possible identity fields to formatted strings in wit_get_work_items_batch_by_ids (#410)
The function `get_work_items_batch_by_ids` transforms the field
`System.AssignedTo` to contain a simple `name <email>`. With pull
request #385 , users can choose returned fields. It would be great to
transform all possible identity fields:
- System.AssignedTo
- System.CreatedBy
- System.ChangedBy
- System.AuthorizedAs
- Microsoft.VSTS.Common.ActivatedBy
- Microsoft.VSTS.Common.ResolvedBy
- Microsoft.VSTS.Common.ClosedBy
The proposed implementation leverages a list of known identity fields.
An alternative would be to detect if the field looks like an identity.
The risk is that it might find false positives.
## GitHub issue number
#409
## **Associated Risks**
_Replace_ by possible risks this pull request can bring you might have
thought of
## ✅ **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?**
- Added new unit test
Co-authored-by: Francisco <[email protected]>
Co-authored-by: Dan Hellem <[email protected]>
0 commit comments