I want to create a custom filter for displaying JIRA issues, and I am interested in two sorts of tasks:
So the filter I have come up with is the following:
(assignee = currentUser() AND resolution = Unresolved) OR (watcher = currentUser())
One doubt I have on the above filter is, will it display tasks for which there are more people watching aside from me? As far as I know, there can be only one assignee but multiple watchers. I tried replacing the second statement with currentUser() in watchers
, but it does not seem to work.
Now, once the tasks are displayed as a list, I don't have a clear view on whether I am an assignee or a watcher for a given task techleader. I could add column "Assignee", but my name is quite long and it takes up unncessary space for other, more relevant columns.
Is there a simple JIRA field, which allows me to quickly distinguish between assignee and watcher tasks? For example, ideally, a column where JIRA displays "A" for assignee tasks and "W" for watcher ones. My JIRA version is showing me around 300 fields (but not displaying them all!) so it is a bit like groping in the dark.
Yes, it will return issues where other people are watchers. The request "watcher = currentUser" is "show me the issues where I am a watcher", it asks nothing about other watchers.
There is no way for a query to tell you why an issue is returned by a query, other than to include the data you are selecting on in the results so you can see it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.