Identify date/time of a watcher being added to an issue

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Solution

Problem

To identify when a watcher was added to an issue via database query

Resolution

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 SELECT concat(project.pkey,'-',jiraissue.issuenum) AS pkey_issuenum, app_user.user_key, app_user.lower_user_name, userassociation.created FROM userassociation JOIN app_user ON userassociation.source_name = app_user.user_key JOIN jiraissue ON jiraissue.ID = userassociation.SINK_NODE_ID JOIN project ON project.id = jiraissue.PROJECT WHERE jiraissue.id = userassociation.sink_node_id AND userassociation.association_type='WatchIssue' AND userassociation.sink_node_entity ='Issue' ORDER BY app_user.user_key ASC;
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.