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

Clone actions for Epic issue types fails to create issue saying "cannot have Parent but parent is specified"

    XMLWordPrintable

Details

    Description

      Issue Summary

      When creating Epic issues through Clone Action, the following error message is shown in audit log:

      Error creating issue
      Issue type 10000 cannot have parent but a parent is specified. (issuetype), Issues with this Issue Type must be created in the same project as the parent. (project)

      Steps to Reproduce

      1. Create a rule to clone Epics
      2. Set a Parent Link (Initiative)
      3. Clone issue (with target issue type as a non subtask)

      Expected Results

      Clones the Epic setting the parent as expected.

      Actual Results

      The clone action fails saying that Epics can't have a Parent set:

      Error creating issue Issue type 10000 cannot have parent but a parent is specified. (issuetype), Issues with this Issue Type must be created in the same project as the parent. (project)

      Workaround

      1. When the Parent is not required - Add the following to the Additional Fields section within the Clone Issue action:

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

       

      2. When the parent is required - Update the parent after the issue creation.

      Attachments

        Issue Links

          Activity

            People

              2e6e6483d7d1 Konstantin Kulishenkov
              44981f7279ac Greice Faustino (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: