An automation rule fails with an error related to user application access
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
An automation rule fails to run with the FAILURE status and the error below:
This user has no application access and cannot be set as an actor until added to an application.
環境
- 9.4.0 以降の任意のバージョンの Jira Server/Data Center
- Automation For Jira (A4J) Server/Data Center on any version from 9.2.0
診断
- Check the rule configuration by navigating to the Rule Details page, and identify the user in the Rule Actor field
- Go to the page ⚙ > User Management > Users, search for the rule actor, and check the Applications column:
- If the Applications column is empty, then this KB article is relevant and you can move on to the Solution section
原因
For an automation rule to perform any update/action on a Jira issue (such as adding a comment, editing a field, transitioning the issue...), the rule actor needs to be granted application access via a Jira license. Without being granted such access, the rule actor will not be able to perform the actions defined in the automation rule, and the rule will fail to execute.
ソリューション
Grant the rule actor with application access, or change the rule actor to a user that has application access.
To change the rule actor, some additional steps might be required if you are using a recent Automation For Jira (or Jira) version. For more information, please refer to the documentation Restrict rule actor impersonators.