How I come to know the list of issues in JIRA that the user is watching

Need your help in achieving this.

1. I need to know the list of issues in JIRA, the user is watching.

Example : User A is renamed to User B, now I need to know the list of issues in JIRA where user A is part of watcher's list. Now I need to replace the user A with user B in all these issues. How do I come to know the list of issues, user A is watching.

2. After getting the list of issues, I need to replace user A with user B in all these issues. How do I achieve this.

4 answers

This widget could not be displayed.

Hi

1.- project = XXXX and watcher = userA

2.- I think that your best option is developing a simple groovy script (perhaps can be done with jelly). Here is a slightly different use case, solved with a groovy script. They are trying a add some user as a watcher of the parent issue.

HTH

This widget could not be displayed.

You can try this SQL:

SELECT *
  FROM [jiraschema].[jiraissue] i
  JOIN [jiraschema].[userassociation] a ON i.[ID] = a.[SINK_NODE_ID]
  WHERE [ASSOCIATION_TYPE] = 'WatchIssue'

This widget could not be displayed.

1.Select Advance Search,

2.watcher = currentUser() // If you want issues you are watching or user for whom you want to watch

 

This widget could not be displayed.

please  use below simple JQL.

watcher = "username"

It will list all issues where "username" is watcher 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 10 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

32 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you