It's all about the answers!

Ask a question

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

sivaraj eduru (111) | 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.3k413) | answered Nov 23 '17, 5:36 a.m.

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.


Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.