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,460,050
Community Members
 
Community Events
176
Community Groups

What is the difference between commentedbyUser and watcher fields in Jira

Edited

I am trying to get some data from Jira, but can't understand the different as mentioned in Question above.

Example of query: 

created >= 2021-01-01 AND created <= 2022-02-22 and watcher in ("userA", "userB", "userC")

created >= 2021-01-01 AND created <= 2022-02-22 AND issue in commentedByUser("userA", "userB", "userC")

1 answer

1 accepted

2 votes
Answer accepted

Welcome to the Atlassian Community!

  • Watchers are people who add themselves to a watch list for the issue (or someone adds them).
  • Commentedby looks at who has made comments on the issue.

A watcher does not have to have made a comment to be a watcher, and a commenter does not have to be a watcher

The two searches are looking for people for different reasons.

Commentedby looks only at who has made comments on the issue or also at someone who for eg. has been assigned for a moment to the task and didn't make any comment (exist in the task history log)?

Yes, it really is just the comment's existence.  Other actions don't make you a commenter!

If you have someone who has been assigned to the issue, edited it and transitioned it, but not made a comment (either by hitting comment or by adding one while editing/assigning/transitioning etc), then they will not be counted as a commenter.

Like Maciej Solinski likes this

Thank you very much for answers.. I have last question: how to generate list of Jira issues for someone, who ever "touched" the issue: either has commented, or was watcher, or has been assigned, or was reporter, etc... exist in history log somehow.

You have to report on the various different actions differently, and there's no record of just "updated".  You can look for individuals "was updated by (Bob Smith)" for example.

But yes, all record of change is stamped with the author and that is indeed all logged in the issue history.

Like Maciej Solinski likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events