It's all about the answers!

Ask a question

how to query the defects based on user name mentioned in the comment


sivaraj eduru (11) | asked Nov 23 '17, 2:41 a.m.
retagged Dec 13 '17, 1:46 p.m. by Ken Tessier (84117)

I would like to query all defects where my user name is mentioned in the comments section. Present we have the facility to get mails whenever user name is mentioned in the comments. Instead of checking many mails I would like to use query.

2 answers



permanent link
Ulf Arne Bister (1.2k6) | answered Nov 23 '17, 5:36 a.m.

Hi,
simply use "Full Text" "contains" "@YourUserId" in your regular work item query. The comments field is in the complete Lucene index so you could use the @YourUserId (e.g. @abister) in the Quicksearch field as well.

If this is helpful please mark it as accepted

- Arne


permanent link
Ken Tessier (84117) | answered Dec 13 '17, 1:46 p.m.

For details about creating queries, see Creating queries and Examples of queries.


Ken 

Your answer


Register or to post your answer.