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

When cloning an issue through Automation rule, security level value is copied even though the security level is not available in the created issue's project

    • Severity 3 - Minor
    • 0

      Issue Summary

      When cloning an issue through Automation rule, the security level is copied even though this is not applied to the destination project, what makes the created issues unaccessible.

      Steps to Reproduce

      1. Create a security scheme and apply this to project A
      2. Create a security scheme and apply this to project B
      3. Build an Automation rule using Clone action, being issue from project A the trigger issue and cloning this to project B
      4. Make sure security level is applied to the trigger issue and that this security level is not applied to project B
      5. After the Clone Issue action, add a Most recently created issue branch and within this add any action as Log Action, for example
      6. Automation rule won't be able to find any issue within branch even though an issue was successfully created by the rule

      Expected Results

      Since security level is not applied and available in created issue's project, an error message should be shown and issue should not be created.

      Actual Results

      When cloning the issue in project B, the security level value is copied even though this is not available in project B. Due to this, the created issue is unavailable to be accessed, even though the user has the needed permissions.

      Workaround

      Two approaches to mitigate this:

      1. If the destination project is using an Issue Security Scheme as well, specifically set a level during the clone action that is accessible in that project
      2. Clear the value using smart values during the clone action

      More granular information on the above can be found in the following KB:

            [AUTO-404] When cloning an issue through Automation rule, security level value is copied even though the security level is not available in the created issue's project

            Enida made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 998363 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            Chris Levine made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 961226 ]
            Charlie Gavey made changes -
            Labels Original: Automation_Move_JSW jsw-s13 New: Automation_Move_JSW jira-dependency jsw-s13
            Julien Rey made changes -
            Link New: This issue was cloned as AUTO-1375 [ AUTO-1375 ]
            Bhaargavi Natarajan made changes -
            Description Original: h3. Issue Summary

            When cloning an issue through Automation rule, the security level is copied even though this is not applied to the destination project, what makes the created issues unaccessible.
            h3. Steps to Reproduce
             # Create a security scheme and apply this to project A
             # Create a security scheme and apply this to project B
             # Build an Automation rule using Clone action, being issue from project A the trigger issue and cloning this to project B
             # Make sure security level is applied to the trigger issue and that this security level is not applied to project B
             # After the Clone Issue action, add a Most recently created issue branch and within this add any action as Log Action, for example
             # Automation rule won't be able to find any issue within branch even though an issue was successfully created by the rule

            !image-2021-06-21-14-41-22-933.png|width=481,height=197!
            h3. Expected Results

            Since security level is not applied and available in created issue's project, an error message should be shown and issue should not be created.
            h3. Actual Results

            When cloning the issue in project B, the security level value is copied even though this is not available in project B. Due to this, the created issue is unavailable to be accessed, even though the user has the needed permissions.
            h3. Workaround

            Two approaches to mitigate this:

            # If the destination project is using an Issue Security Scheme as well, specifically set a level during the clone action that is accessible in that project
            # Clear the value using smart values during the clone action

            More granular information on the above can be found in the following KB:

            * [Cloning issues with Issue Security Scheme levels via Automation|https://confluence.atlassian.com/servicemanagement/cloning-issues-with-issue-security-scheme-levels-via-automation-1188772874.html]
            New: h3. Issue Summary

            When cloning an issue through Automation rule, the security level is copied even though this is not applied to the destination project, what makes the created issues unaccessible.
            h3. Steps to Reproduce
             # Create a security scheme and apply this to project A
             # Create a security scheme and apply this to project B
             # Build an Automation rule using Clone action, being issue from project A the trigger issue and cloning this to project B
             # Make sure security level is applied to the trigger issue and that this security level is not applied to project B
             # After the Clone Issue action, add a Most recently created issue branch and within this add any action as Log Action, for example
             # Automation rule won't be able to find any issue within branch even though an issue was successfully created by the rule

            !image-2021-06-21-14-41-22-933.png|width=481,height=197!
            h3. Expected Results

            Since security level is not applied and available in created issue's project, an error message should be shown and issue should not be created.
            h3. Actual Results

            When cloning the issue in project B, the security level value is copied even though this is not available in project B. Due to this, the created issue is unavailable to be accessed, even though the user has the needed permissions.
            h3. Workaround

            Two approaches to mitigate this:

            # If the destination project is using an Issue Security Scheme as well, specifically set a level during the clone action that is accessible in that project
            # Clear the value using smart values during the clone action

            More granular information on the above can be found in the following KB:

            * [Cloning issues with Issue Security Scheme levels via Automation|https://confluence.atlassian.com/jirakb/cloning-issues-with-issue-security-scheme-levels-via-automation-1188772874.html]
            Enida made changes -
            Labels Original: Automation_Move_JSW New: Automation_Move_JSW jsw-s13
            Vipul Reddy made changes -
            Labels Original: Automation_Move_JSW jsw-s13 New: Automation_Move_JSW
            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: Action - Clone Issue [ 70310 ]
            Key Original: JSWCLOUD-22529 New: AUTO-404
            Support reference count Original: 8
            Project Original: Jira Software Cloud [ 18511 ] New: Automation for Cloud [ 22610 ]

              Unassigned Unassigned
              itrojahn@atlassian.com Ilenice
              Affected customers:
              29 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated: