Community Center | Not monitored
Tag not monitored by Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to get all workitem/names where I have been mentioned using @mention
Am using WIQL query (not REST API)
Please suggest.
Thanks,
Soumen Dey
Tag not monitored by Microsoft.
Try the below:
SELECT
[System.Id],
[System.WorkItemType],
[System.Title],
[System.AssignedTo],
[System.State],
[System.AreaPath],
[System.CommentCount]
FROM workitems
WHERE
[System.TeamProject] = @project
AND [System.Id] IN (@recentMentions)
AND NOT [System.State] IN ('Closed', 'Inactive', 'Completed')
ORDER BY [System.ChangedDate] DESC