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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

このページの内容はサポート対象外のプラットフォームに関連しています。したがって、アトラシアン サポートではこのページの記載内容のサポートの提供は保証されません。この資料は情報提供のみを目的として提供されています。内容はお客様自身の責任でご利用ください。

問題

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

ソリューション

SELECT
 concat(project.pkey,'-',jiraissue.issuenum) AS pkey_issuenum, cwd_user.user_name, userassociation.created
FROM
 userassociation
JOIN
 cwd_user
ON
 userassociation.source_name = cwd_user.user_name
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 cwd_user.user_name ASC;
最終更新日 2016 年 8 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.