ワークフロー トリガーのトラブルシューティング
トリガーの設定や動作に問題がある場合、以下の手順に従い問題をトラブルシューティングしてください。
一般的な問題を確認する
If you can't resolve your problem with the trigger diagnostics, check the list of common problems below for possible causes and solutions.
I can't add a trigger to a transition
原因 | ソリューション |
|---|---|
JIRA または開発ツールのバージョンが正しくない | 正しいバージョンをインストールまたはアップグレードします。 |
開発ツールが Jira に正しく接続できない | 接続の設定を確認します:
|
The work item doesn't transition
原因 | ソリューション |
|---|---|
Your space is not using the workflow that has been configured with triggers |
|
You haven't saved your workflow changes where the triggers were added | トリガーを追加したワークフローに移動します。ワークフロー トランジションを表示し、表示されたトリガーを確認して公開されていることを確認します。 |
DVCS が Jira に到達していない | 1 時間程度待ちます。1 時間後に到達していない場合は、DVCS との接続が正しく設定されていることを確認します。「開発ツールとの統合」をご確認ください。 If triggers are not configured or Jira is not reachable from Bitbucket/GitHub, then the delay might be up to one hour, as there is still an hourly synchronization of commits/branches/pull requests happening regardless of the triggers configuration. Find out about event handling and event limits. |
DVCS リポジトリが同期済み DVCS アカウントにリンクされていない | Navigate to the Jira administration console, then Add-ons, then DVCS Accounts. Enable your repository. If you have not configured Bitbucket or GitHub to autolink new repositories, you may have repositories that are not enabled (i.e. linked to your DVCS account). This means that events from the unlinked repository will not be sent to Jira, hence the work item will not transition automatically, even if you have configured a trigger. |
コミットが古すぎます | トランジションが生じるのは、経過日数 21 日未満のコミットのみです。これにより、一括アップロードを防止して一括トランジションが生じないようにしています。 |
匿名ユーザーにはこの操作は許可されません。 | 開発ツールの各ユーザーを Jira ユーザーにマッピングしていることを確認します。 Certain work item operations will throw exceptions when the transition is performed by an anonymous user. These are:
開発ツールのイベントが Jira ユーザーにマッピングできない場合は、トリガーされたトランジションは匿名ユーザーによって実行されます。ユーザーのマッピングに関する詳細についてご確認ください。 |
The maximum number of automatic transitions permitted for a work item has been exceeded | ワークフロートランジションが無限ループで終了していないことを確認します。 |
Automatic work item transition events are incorrectly suppressed by the development tool | Change the repository/space settings to allow events to be sent. 重複するイベントが送信されていた場合、ワークフローをトリガーするイベントを Jira に送信しないよう Bitbucket Data Center (Stash 3.3 ~ 3.5) リポジトリまたは Fisheye (3.5 以降) リポジトリを構成している可能性があります。複数の開発ツールでインデックスされている同一のリポジトリがある場合、Jira にリポジトリ イベントが重複して送信される可能性があります。 Jira はワークフロー トリガーを処理する際に、重複するコミット イベントおよびブランチ作成イベントを自動的に削除します。 You shouldn't suppress repository events from Bitbucket Data Center or Fisheye, unless duplicate events are causing work items to transition incorrectly. |
The work item transitions, but not as expected
原因 | ソリューション |
|---|---|
グローバルトランジションにトリガーを設定しました。 | Investigate how the trigger event affects work items in different statuses. Consider removing the trigger from the global transition. We recommend that you do not configure triggers for global transitions, unless you are confident that you understand exactly how the trigger will affect the behavior of the work item. Find out about triggers and global transitions. |
Workflow conditions, validators and permissions are intentionally ignored for automatic work item transitions | 何もする必要はありません。 If you were expecting workflow conditions, validators or permissions to be applied to an automatic work item transition, then please note that none of these apply. Related to this, post functions do apply to automatic work item transitions. |
Your workflow is shared across multiple spaces | You may need to copy your workflow, if you want triggers to apply to the workflow for some spaces but not others. Triggers apply to the workflow. If a workflow is shared across multiple spaces, it will include all triggers that have been configured for it. |
Duplicate automatic work item transition events are being sent by multiple development tools | Change the repository/space settings in one (or more) of your development tools to prevent events from being sent. 複数の開発ツールでインデックスされている同一のリポジトリがある場合、Jira にリポジトリ イベントが重複して送信される可能性があります。Jira は重複するコミット イベントおよびブランチ作成イベントを自動的に削除します。 If you are not using the latest Jira version and have duplicate repository events causing incorrect work item transitions, you can configure Bitbucket Data Center (Stash 3.3 - 3.5) and Fisheye (3.5+) repositories to suppress events sent to Jira for workflow triggers. |
トランジションについて記録された情報が正しくない
原因 | ソリューション |
|---|---|
開発ツールのユーザーが Jira のユーザーにマッピングされていません。 | 開発ツールの各ユーザーを Jira ユーザーにマッピングしていることを確認します。 If users are not mapped correctly, then the user for the work item transition will be anonymous. For more information, see the section on user mapping above. |
問題を解決できない場合
If you still cannot resolve your problem, there are a number of other help resources available, including our apps forums and Atlassian community.
この内容はお役に立ちましたか?