DVCS Smart Commit の有効化

お困りですか?

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

コミュニティに質問

When you manage your project's repositories in Bitbucket Cloud or GitHub, or use FishEye to browse and search your repositories, you can process your JIRA Software issues using special commands in your commit messages.

以下のことが可能です。

  • 課題にコメントする
  • 課題の時間管理情報を記録する
  • transition issues to any status (for example 'Resolved') defined in the JIRA Software project's workflow.

スマートコミットの使用に関する詳細:スマートコミットで課題を処理する。コードレビューで Crucible を使用する場合、他のコマンドも利用できます。 FishEye/Crucible ドキュメントの「スマートコミットを使用する」を参照してください。

 

このページの内容

Smart Commit の活用

Smart Commits relies on the JIRA DVCS Connector Plugin when your repositories are hosted in Bitbucket Cloud or GitHub. The plugin is bundled with JIRA Software, but if necessary, a JIRA administrator can install it directly from within the JIRA administration area. See Installing Marketplace apps for more information.

There are, however, a couple of things that need to be set up to get Smart Commits working:

Link JIRA Software with the DVCS account

A JIRA administrator with access to the DVCS account must set up OAuth authentication between JIRA Software and the Bitbucket or GitHub account. See Linking Bitbucket Cloud and GitHub accounts to JIRA Software for details.

For FishEye/Crucible, there just needs to be an application link set up between JIRA Software and FishEye/Crucible.

Enable Smart Commits in JIRA Software

All new repositories added to your linked DVCS account have Smart Commits enabled by default. However, an administrator can disable that if necessary, and can also enable or disable Smart Commits for individual repositories.

新規リポジトリについて、スマートコミットを有効化するかどうかを制御する:

  1. Log in to JIRA Software as a user with administrative permissions.
  2. 管理 > アプリケーション >  DVCS アカウントに進みます。
  3. アカウントの (設定) アイコンをクリックします。
  4. 新しいリポジトリで新しいリポジトリでスマートコミットの有効化をクリックします。

個々のリポジトリでスマートコミットを有効化または無効化する:

  1. Log in to JIRA Software as a user with administrative permissions.
  2. 管理 > アプリケーション > DVCS アカウントに進みます。
  3. リポジトリのスマートコミットオプションを選択 (または選択解除) します。 

 

fork とスマートコミット

If you use forks in your workflow, the DVCS Connector records each repository that contains a Smart Commit message. It actually processes the Smart Commit message only the first time it encounters it. When you view the commit tab in JIRA Software, you can see which forks include that particular commit:

最終更新日 2017 年 9 月 5 日

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

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