データ パイプライン エクスポート スキーマ
ユーザー ファイル
フィールド | 説明 |
---|---|
user_id | タイプ: 文字列 説明: ユーザーの ID 例: |
instance_url | タイプ: URL 説明: 現在のインスタンスのベース URL 例: |
user_name | タイプ: 文字列 説明: ユーザーのユーザー名 例: |
user_fullname | タイプ: 文字列 説明: ユーザーの氏名。 例: |
user_email | タイプ: メール Description: Email address of the user. 例: |
Repositories file
フィールド | 説明 |
---|---|
| タイプ: 数値 Description: Unique identifier for the repository. 例: |
| タイプ: URL 説明: 現在のインスタンスのベース URL。 例: |
| タイプ: 文字列 Description: URL of the repository. 例: |
| タイプ: 文字列 Description: Name of the repository. 例: |
| タイプ: 文字列 Description: Description of the repository. |
| タイプ: 数値 Description: The unique identifier for the hierarchy of forks to which this repository belongs. All repositories have a hierarchy ID, even if they have no forks. 例: |
| タイプ: 文字列 Description: Repository from which this repository was forked, if any. 例: |
| タイプ: 数値 Description: Unique identifier for the project. 例: |
| タイプ: 文字列 Description: Key of the project this repo is contained in. 例: |
| タイプ: 文字列 Description: Name of the project this repo is contained in. 例: |
| タイプ: 文字列 Description: Whether the project the repository is contained in is normal or personal. 例: |
| タイプ: ブール Description: ‘Allow forks’ is selected in the repository settings. 例: |
| タイプ: ブール Description: Repository is forked from another repository. 例: |
| タイプ: ブール Description: Whether ‘Public access’ is enabled in the repository settings. 例: |
Commits file
フィールド | 説明 |
---|---|
| タイプ: 文字列 Description: Unique identifier of the commit. 例: |
| タイプ: URL 説明: 現在のインスタンスのベース URL。 例: |
| タイプ: URL Description: URL of the commit. Example: |
| タイプ: 文字列 Description: Commit message included with the commit. |
| タイプ: 数値 Description: Unique identifier for the repository. 例: |
| タイプ: 文字列 Description: Email address of the author of the committed code. If the author is not a Bitbucket user, this email will not map to a user in the users table. 例: |
| タイプ: 日付 Description: Date and time the commit was made. 例: |
| タイプ: 文字列 Description: Email address of the user who committed the code. If the committer is not a Bitbucket user, this email will not map to a user in the users table. 例: |
| タイプ: 日付 Description: Date and time the commit was last modified. 例: |
Pull requests file
フィールド | 説明 |
---|---|
| タイプ: 文字列 Description: Unique identifier of the pull request. It is a combination to_repository_id & scoped_id. 例: |
| タイプ: 数値 Description: Identifier for the pull request. This ID is only unique within each repository. 例: |
| タイプ: URL 説明: 現在のインスタンスのベース URL。 例: |
| タイプ: 文字列 Description: URL of the pull request. Example: |
| タイプ: 文字列 Description: Title of the pull request. Example: TEST-123 fix broken tests |
| タイプ: 文字列 Description: Description included with the pull request, limited to XXX characters. |
| タイプ: 数値 Description: Unique identifier of the person who created the pull request. 例: |
| タイプ: 日付 Description: Date the pull request was created. 例: |
| タイプ: 日付 Description: Date the pull request was updated. 例: |
| タイプ: 日付 Description: Date the pull request was closed. 例: |
| タイプ: 文字列 Description: The name of the source branch. Example: Improve-tests |
| タイプ: 文字列 Description: The commit hash for the earliest commit in this pull request. 例: |
| タイプ: 数値 Description: Unique identifier for the source repository. 例: |
| タイプ: 文字列 Description: The name of the destination branch. 例: |
| タイプ: 文字列 Description: The commit hash for the latest commit in this pull request. 例: |
| タイプ: 数値 Description: Unique identifier for the destination repository. 例: |
| タイプ: 数値 Description: Version number represents the number of times the pull request has been updated. 例: |
| タイプ: 文字列 Description: Current status of the pull request. Can be MERGED, DECLINED, or OPEN. 例: |
| タイプ: 数値 Description: Number of participants on the pull request. |
| タイプ: 数値 Description: Number of reviewers on the pull request. |
| タイプ: 数値 Description: Number of approvals on the pull request. |
| タイプ: 数値 Description: Number of comments on the pull request. |
| タイプ: 数値 Description: Total number of tasks on the pull request. |
| タイプ: 数値 Description: Number of tasks resolved on the pull request. |
| タイプ: 数値 Description: Time between pull request creation and merge, in milliseconds. 例: |
Pull request activity file
pull_request_activities
CSV file. Only activity after the export fromDate
will be included.Use the pull_request_id
field to join this table to the pull requests table.
フィールド | 説明 |
---|---|
| タイプ: 文字列 Description: Unique identifier of the pull request. It is a combination 例: |
| タイプ: 数値 Description: Unique identifier of the person who created the pull request. 例: |
| タイプ: 日付 Description: Date the action performed on the pull request. 例: |
| タイプ: 文字列 Description: The action performed on the pull request, for example created, updated, reviewed, commented, declined, approved, and merged. 例: |
| タイプ: 文字列 説明: 変更に関連する追加情報 (JSON 形式)。 例:
|
There are some situations where the created date and user ID may be incorrect in the pull request activities file. This is due to a historical issue, that was resolved in Bitbucket 7.14. For comments edited before the fix, the original created date and user ID was returned in the export, rather than the edited date and user ID.
Build status file (optional)
plugin.data.pipeline.bitbucket.export.build.statuses
system property to true
to enable it.フィールド | 説明 |
---|---|
| タイプ: 文字列 Description: Commit hash for the commit. 例: |
| タイプ: 数値 Description: Unique identifier of the repository. 例: |
| タイプ: 文字列 Description: Key set in your CI tool. Can be used as a unique identifier when combined with repository ID and commit ID. 例: |
| タイプ: 文字列 Description: URL of the build in your CI tool. Example: |
| タイプ: 文字列 Description: Name of the build. Example: |
| タイプ: 数値 Description: The identifier for the specific run that resulted in this build status. May be empty. 例: |
| タイプ: 文字列 Description: Description of the specific run that resulted in this build status. 例: |
| タイプ: 数値 Description: Duration of the build, in milliseconds. Example: 230400 |
| タイプ: 日付 Description: Date the build was created. 例: |
| タイプ: 日付 Description: Date the build was updated. 例: |
| タイプ: 文字列 Description: State of the build. Can include SUCCESSFUL / FAILED / INPROGRESS 例: |
| タイプ: 文字列 Description: Key of the parent build for this plan. Can be empty. Example: |
| タイプ: 文字列 Description: The branch or tag that this build is associated with. Can be empty. |
| タイプ: 数値 Description: The number of successful tests in this build. |
| タイプ: 数値 Description: The number of failed tests in this build. |
| タイプ: 数値 Description: The number of skipped tests in this build. |