Can't enable Automation rule due to the error "Either you or the rule actor for this rule is missing some required permissions"

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

    

要約

After configuring an automation rule coming from the add-on Automation for Jira in a project (via the page Project Settings > Project Automation), it is impossible to enable it due to the following error:

Error
Either you or the rule actor for this rule is missing some required permissions:
"EDIT_ISSUES"

環境

  • Jira 8.x Or Jira Service Management 4.x
  • Automation for Jira add-on (any version)

原因

Root Cause 1 (applies to both Jira Server and Data Center)

Either the user who is trying to enable the automation rule, or the actor of the rule is not granted the Edit Issues project permission across all the projects in the scope of the automation rule.

Root Cause 2 (only applies to Jira Data Center)

One of the project in the scope of the automation rule was archived.

診断

Regardless of which root cause is relevant, the first thing to do is to identify the scope of the automation rule and the actor of the automation rule in the Rule Details section, as shown in the screenshot below:

Once you have identified the list of the project(s) from the rule scope, and the actor of the rule, you can move on to the Diagnosis section for the Root cause 1 and 2.

Diagnosis for Root Cause 1

Go to the page ⚙ > System > Permission Helper, and run the following test for both the actor of the rule, and also the user who is trying to enable the rule (both users can be different). Note that this test needs to be run for each project which is in the scope of the automation rule:

  • User: actor (or user trying to enable the rule)
  • Issue: choose one example of issue key within the project
  • Permission: edit issues

If this test fails for at least one project, and for either the actor or the rule of the user trying to enable the rule, then this root cause is relevant. 

Example of test failure:

Diagnosis for Root Cause 2

Go to ⚙ > Projects > Archive projects, and check if you can see any of the project defined in the scope of the automation rule listed here:


If you see any of the project from the rule scope listed here, then this root cause is relevant.

ソリューション

Solution for Root Cause 1

Make sure that both the rule actor and the user trying to enable the rule are granted the Edit Issues permission within each project listed in the scope of the automation rule.

(warning) Important note for Jira Service Management projects: for this type of project, a user can only edit issues if this user is acting as an "agent" of the Service Management project, meaning that this user needs to verify the 2 following conditions (in addition to being granted the Edit Issues permission):

  • this user needs to be granted Jira Service Management application access (via a Service Management license)
  • this user needs to be granted the Service Desk Agent permission in the project permission scheme

Solution for Root Cause 2

Restore the archived projects by clicking on ... > Restore next to the project in ⚙ > Projects > Archive projects.

最終更新日 2021 年 11 月 30 日

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

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