I need a fast way to get a list of links filtered by the link comment. Have a code:
var linkCommentFilter = "Some link comment";
const string queryString = @"SELECT [System.Id]
FROM workItemlinks
WHERE [System.Links.LinkType] = 'Tested By'
AND [System.Links.Comment] = '{0}'
AND ([Source].[System.Id] IN ({1}))";
var query = new Query(store, string.Format(queryString,
linkCommentFilter,
string.Join(",", wiIds)));
var result = query.RunLinkQuery().ToArray();
When trying to run this code an exception occurred "field System.Links.Comment doesn't exist". How could I fix it?