リポジトリをソフトウェア プロジェクトにリンクする
Keep track of your team’s work by linking code repositories from connected development tools to your software project.
はじめる前に
Before you can link repositories to your software project, you must complete the following steps:
プロジェクトのコード機能を有効にします。コードを有効にする方法
Jira を Bitbucket、GitHub、または別のサポートされているソース コード管理ツールに接続します。Jira と開発ツールの統合に関する詳細についてご覧ください。
ツールが Jira に開発情報を送信できるように正しく設定されていることを確認します。
チームのリポジトリをリンクする
コード機能では、プロジェクトにリンクされているリポジトリのリストが表示されるため、チームが何に取り組んでいるかを追跡するのに役立ちます。 リンクされているリポジトリが最大で 100 個表示されます。
Link repositories using work item keys
You can link a repository to a project by including work item keys in your branch names, commit messages, and pull requests. Here’s how:
Find the key for the Jira work item you want to link to, for example “JRA-123”.
Checkout a new branch in your repository, using the work item key in the branch name. For example,
git checkout -b JRA-123-<branch-name>.When committing changes to your branch, use the work item key in your commit message. For example,
git commit -m "JRA-123 <summary of commit>". You can also include the work item key in the pull request title.
変更をコミットするかブランチをプッシュしたら、プロジェクト メニューの [コード ] に移動して、接続されているリポジトリを確認します。 接続が完了するまでに数分かかる場合があります。
この内容はお役に立ちましたか?