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 は除く
Platform Notice: Data Center - This article 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.
*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'