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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,956
Community Members
 
Community Events
176
Community Groups

how to find all issues i am watching

i'm doing my best to find a way to bulk stop watching all issues i currently am a watcher on.  can't find an easy answer unless i'm a java coder or a wizard level 19.  anyone able to help?

5 answers

1 accepted

96 votes
Answer accepted

you can call a JIRA QL like this one:

 

watcher = currentUser() AND resolution = Unresolved ORDER BY priority DESC, updated DESC

To be able to find all those tickets with your watch. (I've clicked on all of them to unwatch manually though)

this worked!! thanks

Like # people like this

This worked perfectly, thank you!

If I apply the command:

watcher = currentUser () AND resolution = Unresolved ORDER BY priority DESC, updated DESC

It shows all the incidents that I follow, what will be the command to apply to show the incidents that I do not follow?

Like tomohiko nakata likes this

Try "watcher != currentUser() or watcher is empty"

I did not succeed. It shows me a message that says:
"No incidents found that match the specified search criteria"

Ok, let's break it up a bit.  What do you get from

  • issuetype = incidents and resolution = Unresolved
  • issuetype = incidents and resolution = Unresolved and watcher = currentUser()
  • issuetype = incidents and resolution = Unresolved and watcher != currentUser()
  • issuetype = incidents and resolution = Unresolved and watcher is empty

Just the number of results for each is all we need. 

Like Suneel Pinaka likes this

It worked like a charm! 

Thanks!

This worked, Thanks ! :)))

works fine! Thanks!

Worked like a champ!

Thanks! is it possible to add 2 different resolutions to filter by? I've playing around with"watcher in (currentUser()) AND resolution = Unresolved ORDER BY priority DESC, updated DESC" with no success to have resolution Unresolved and Incomplete in the same query, pretty much I'm trying to filter all ACTIVE (only) issues I'm watching. Any input will be truly appreciate it

You should not have a resolution of "incomplete" - the fact the resolution is there means that is is finished with - i.e. complete.  It's not open because you have resolved it.

Like Mike Hayes likes this

Hi @Nic Brough -Adaptavist- 

is it possible to search (using JQL) for all issues that are watched by user_xyz?

Thanks in advance!

Name them in the query instead of using the currentuser() function.

That simple! Thanks a lot and sorry for a silly question, I was misled by the hint that returns only the currentuser() function for the watcher field.

Not a silly question!  We'd certainly not mentioned it in the earlier comments and answers on this question!

25 votes

Try running a filter for

issue in watchedIssues()

Then, hit the "bulk edit" option in the navigator with a magic missile, and you'll find the option to add/remove watches.

(Note that both features are for higher level JIRA dungeons - 6.3 and above if memory serves)

Thanks, this is exactly what I needed.

Thanks @Nic Brough -Adaptavist-  this worked great for me!

Rock star!  Thank you.

watcher = currentUser()

0 votes

Follow up question:
I added watcher = currentUser() to my query and now the status!="Done" isn't working (I am getting completed issues. What went wrong?

I went from:

project = DivDS OR assignee = currentUser() OR comment ~ currentUser() AND status != "Done"

to:

project = DivDS OR assignee = currentUser() OR comment ~ currentUser() OR watcher = currentUser() AND status != "Done"

Hi, what's the difference between "watcher != currentUser()" and "issue not in watchedIssues()". It gives me different results with the number of issues

The first query

watcher != currentUser()

does not return issues without a watcher, it will only return issues where there is at least one watcher, but you are not one of them.

watcher != currentUser OR watcher is EMPTY

AND

issue not in watchedIssues()

will return the same values because the second query returns all issues where you are not implicitly watching.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events