Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Distinguishing “assignee” and “watcher” tasks in JIRA Edited

I want to create a custom filter for displaying JIRA issues, and I am interested in two sorts of tasks:

  1. Tasks where I am the assignee and are unresolved.
  2. Tasks I am watching.

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.

1 answer

0 votes

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you