Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-401

Team Managed Projects: When an issue on Next-Gen (TMP) has group restrictions, automation fails to execute for lacking permissions for the Actor

    • Minor
    • 0

      Issue Summary

      When the user changes restriction roles to any ticket, automation fails to trigger transition rules. due missing permissions from actor (addon_com.codebarrel.addons.automation

      addon_com.codebarrel.addons.automation user is not able to read issues that are restricted to other roles where this user is not assigned (by default is assigned to atlassian-addons-project-access role), you cannot add roles to this user, because security groups or the user itself is not assignable.

      Steps to Reproduce

      1. Create an automation rule that is triggered in any transition.
      2. Create an issue.
      3. Change restrictions to the Administrator role only.
      4. Transition this issue.
      5. Automation rule must fail due to a lack of permissions on Actor.

      Expected Results

      Rule Execution

      Actual Results

      Actor does not have permission to view one or more issues, or the issue was deleted (please check permissions and issue security levels):
      Comment (id:10134) for issue NGS-1 (id:10163)

      Workaround

      Change the rule actor to a user that has permission.

            [AUTO-401] Team Managed Projects: When an issue on Next-Gen (TMP) has group restrictions, automation fails to execute for lacking permissions for the Actor

            Charlie Gavey made changes -
            Labels Original: Automation_Move_JSW jsw-s13 New: Automation_Move_JSW jsw-s13 tmp
            Gabi Paludo made changes -
            Link New: This issue is related to AUTO-442 [ AUTO-442 ]
            Gabi Paludo made changes -
            Link New: This issue relates to JRACLOUD-83220 [ JRACLOUD-83220 ]
            Gabi Paludo made changes -
            Link New: This issue relates to JRACLOUD-83386 [ JRACLOUD-83386 ]
            Tomasz Kanafa made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 782349 ]
            Vipul Reddy made changes -
            Labels Original: Automation_Move_JSW New: Automation_Move_JSW jsw-s13
            Anusha Rutnam made changes -
            Component/s Original: Automation [ 68402 ]
            Component/s New: Site - Security & Permissiions [ 70318 ]
            Key Original: JSWCLOUD-22535 New: AUTO-401
            Support reference count Original: 9
            Project Original: Jira Software Cloud [ 18511 ] New: Automation for Cloud [ 22610 ]
            Charlie Gavey made changes -
            Summary Original: When an issue on Next-Gen (TMP) has group restrictions, automation fails to execute for lacking permissions for the Actor New: Team Managed Projects: When an issue on Next-Gen (TMP) has group restrictions, automation fails to execute for lacking permissions for the Actor
            SET Analytics Bot made changes -
            Support reference count Original: 8 New: 9
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0

              Unassigned Unassigned
              4a7d33d40182 Cesar Arzate (Inactive)
              Affected customers:
              15 This affects my team
              Watchers:
              30 Start watching this issue

                Created:
                Updated: