Page 1 of 1

Search for a specific list of watchers using the search field

Posted: Wed Nov 16, 2016 8:05 am
by hoferd
Hi eveyone. I am trying to write a search query to filter for a specific list of watchers, using the search field in the browser version. There is no attribute "watcher" that could be used. Therefore, Maybe it works with the attribute "SQL" and some query? Any idea on how I could to that? Thanks in advance.

Re: Search for a specific list of watchers using the search field

Posted: Fri Sep 28, 2018 10:34 am
by sk-tsb
Hi,
right now i have exactly the same problem.....any ideas in the meantime ?

Cheers Sven

Re: Search for a specific list of watchers using the search field

Posted: Mon Oct 01, 2018 2:25 pm
by J├╝rgen
You can find work items with the query
watchedBy:userid

This happens for example, when an admin presses the "Watches" button for an account in user management.

Re: Search for a specific list of watchers using the search field

Posted: Tue Oct 02, 2018 5:42 pm
by sk-tsb
Hi,

you can even set watchedBy:userid in the My Polarion Page. Please note that you cannot set watchedBy:me. It has to be a known userid.

The next line is for a Table-Block Widget Parameter -> Query

"NOT HAS_VALUE:resolution AND (watchedBy:userid)"

So you get all unresolved workitems which are currently watched by the userid. In the My Polarion Page is much more convenient to get this information instead of entering the myAccount area. ( one mouse click instead of 3 mouse clicks ) :D

Cheers Sven