Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-67369

Can not create a new component "On the fly", when moving issue from one project to another

XMLWordPrintable

      Summary

      Can not create a new component "On the fly", when moving issue from one project to another

      Steps to Reproduce

      1. Create an issue and add component to it
      2. Move the issue to another project, in the process try to create a new Component

      Expected Results

      The new component is created

      Actual Results

      • If user has Administrators permissions - issue is moved and the new component is not added to the issue
      • If user does not have Administrators permissions - 500 error is thrown
        • Referer URL: https://instancename.atlassian.net/secure/MoveIssueUpdateFields.jspa
          java.lang.IllegalArgumentException: Component name = 'componentname' is not unique
          java.lang.IllegalArgumentException: Component name = 'componentname' is not unique
          	at com.atlassian.jira.bc.project.component.CachingProjectComponentStore.createIllegalArgumentExceptionForName(CachingProjectComponentStore.java:387) [classes/:?]
          	at com.atlassian.jira.bc.project.component.CachingProjectComponentStore.insert(CachingProjectComponentStore.java:325) [classes/:?]
          	at 
          

      PS This problem was confirmed to also happen when users are admin.

      Workaround

      Create the Component in the project first before moving the issue

              Unassigned Unassigned
              mgocevska Maja (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: