How to retrieve the commits associated with Jira issue keys in Bitbucket Server and Data Center.
プラットフォームについて: 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 は除く
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
We can find specific commit IDs that are associated with a particular JIRA issue key within Bitbucket server and datacenter using the below database query.
環境
7.x,8.x
ソリューション
The information regarding commits associated with a specific JIRA issue key is stored within the "cs_attribute" table in Bitbucket's database. Therefore, you can utilize the following database query to retrieve the commits pertinent to a particular JIRA key.
select * from cs_attribute where att_value='<Jira Issue Key>'
Note: Please enclose the Jira issue key in single quotes.
Example : select * from cs_attribute where att_value='SCRUM-1'