Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-22524

Clone actions fail to create issue if the current issue is a subtask and target is non-subtask

    XMLWordPrintable

Details

    Description

      Issue Summary

      Clone actions fail to create issues if the current issue is a subtask and the target is non-subtask

      Steps to Reproduce

      1. Create an automation rule that would clone a subtask as a non-subtask (Bug,story, etc) on the same project or a different project based on any trigger. 

      Expected Results

      The issue should be cloned as a non-subtask in the same project or a different project. 

      Actual Results

      Automation fails to clone the issue with the following errors:

      When cloning on the same project:

      Given parent issue does not belong to appropriate hierarchy (parentId)

      When cloning to a different project:

      Sub-tasks must be created in the same project as the parent. (project)

      Workaround

      Add the following to the advanced section of the clone issue action:

      {
          "fields": {
              "parent": null
          }
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f8dac69712b5 Eshan Anchan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: