What is the difference between commentedbyUser and watcher fields in Jira

Maciej Solinski February 22, 2022

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2022

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.

Maciej Solinski February 22, 2022

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)?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2022

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
Maciej Solinski February 23, 2022

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 23, 2022

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
AUG Leaders

Atlassian Community Events