Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-46227

Move issue error in JIRA software: 'The issue type selected is invalid'

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      When attempting to move an issue between projects (using the "Move" link in the "More" dropdown on the view issue page), the move will not work; it fails on the first step stating "The issue type selected is invalid".

      Steps to Reproduce

      • JIRA Cloud
      1. Start a clean JIRA Cloud with Software and Service Desk
        • Only ‘Epic’ and ‘Story’ are available
        • They’re both in the Default Issue Type Scheme
      2. Create a Task Management project
      3. The issue types ‘Task’ and ‘Sub-tasks’ are created
      4. Moving issues to ‘Task’ Doesn’t work
      • JIRA Server
      1. install JIRA7 software
      2. create a Business Project of Process Management type (PROCESS)
      3. create a Software Project of Scrum type (SCRUM)
      4. create issue in PROCESS, issuetype=Task
      5. try to move issue above into SCRUM project, issuetype=Bug
      6. you will get the error attached. Choose SCRUM project, issuetype=Story works fine

      Expected Results

      The issue is allowed to be moved to the new project with a new issue type.

      Actual Results

      Moving issues to/from affected types show this error:

      The issue type selected is invalid.
      

      Notes

      This is not restricted to the issue types listed here. It can also occur when moving to or from custom issue types.

      Workaround

      You can try moving issues using the bulk edit feature on the issue search page. Follow the instructions for moving issues in our knowledge-base article on editing multiple issues at the same time

      If using bulk edit does not help, you can follow the advice in this KB.

      Note: JIRA Cloud users experiencing this issue should open a support ticket at Atlassian Support.

            [JRASERVER-46227] Move issue error in JIRA software: 'The issue type selected is invalid'

            David W. added a comment -

            This issue still exists in Jira Server 7.13.12.

            David W. added a comment - This issue still exists in Jira Server 7.13.12.

            LauraR added a comment -

            We are on Jira 8.10.13 (DC version) and we experience the 'The issue type selected is invalid' error while trying to move an issue within the same project. Would you consider looking into this on the newer versions of Jira and provide a fix ?

            LauraR added a comment - We are on Jira 8.10.13 (DC version) and we experience the 'The issue type selected is invalid' error while trying to move an issue within the same project. Would you consider looking into this on the newer versions of Jira and provide a fix ?

            There are some workaround steps provided in the referenced article above that appears under the Jira Software 8.2 / Knowledge base which is confusing in that it references back to this ticket which is resolved.  This was never an issue for us but is occurring now that we have updated and are on version 8.1.0.  Our instance is hosted so the workaround provided becomes a week long process at best.  That said is this a regression or is this issue an isolated incident specific to our instance?

            Brian Jones added a comment - There are some workaround steps provided in the referenced article above that appears under the Jira Software 8.2 / Knowledge base which is confusing in that it references back to this ticket which is resolved.  This was never an issue for us but is occurring now that we have updated and are on version 8.1.0.  Our instance is hosted so the workaround provided becomes a week long process at best.  That said is this a regression or is this issue an isolated incident specific to our instance?

            Daz added a comment -

            jonas.trunzer372765143, this issue was resolved in Jira 7.1.0. Do you have further concerns about this issue? Do you still experience the problem after upgrading to Jira 7.1 or higher?

            Daz added a comment - jonas.trunzer372765143 , this issue was resolved in Jira 7.1.0. Do you have further concerns about this issue? Do you still experience the problem after upgrading to Jira 7.1 or higher?

            agree

            Even when I have two projects with a shared configuration (new feature of JIRA 7), moving an issue not contained in the default issue type scheme does fail due to the missing issue type. This is obviously nonsense, but I've lost 3 hours with this bug. And others will hit this trap also.

            The suggested workaround with manipulating the JIRA configuration via SQL is not an acceptable way IMHO. Fortunately the "may help" workaround using "bulk move" did work for me. This should be the first option in KB [article|https://confluence.atlassian.com/jirakb/unable-to-move-issue-to-another-issue-type-due-to-the-issue-type-selected-is-invalid-error-227413483.html].

            Moving existing issues to another project ist not unusual. And many customers may have own issue types not included in the default scheme. So the fix of the move functionality should be solved with a higher priority!

            Jonas Trunzer added a comment - agree Even when I have two projects with a shared configuration (new feature of JIRA 7), moving an issue not contained in the default issue type scheme does fail due to the missing issue type. This is obviously nonsense, but I've lost 3 hours with this bug. And others will hit this trap also. The suggested workaround with manipulating the JIRA configuration via SQL is not an acceptable way IMHO. Fortunately the "may help" workaround using "bulk move" did work for me. This should be the first option in KB [article| https://confluence.atlassian.com/jirakb/unable-to-move-issue-to-another-issue-type-due-to-the-issue-type-selected-is-invalid-error-227413483.html ]. Moving existing issues to another project ist not unusual. And many customers may have own issue types not included in the default scheme. So the fix of the move functionality should be solved with a higher priority!

            Daz added a comment -

            Hi everyone,

            As per my previous comment, I am closing this issue as fixed in JIRA 7.1.0.

            With that said, after reviewing each comment and reviewing this issue with support engineers, I've concluded that there were multiple problems being reported against this issue. You may want to follow one of these other issues:

            • Importing issues from Trello doesn't work properly, either because of...
              • An invalid issue type error – This problem is tracked in JRA-63625.
              • An error stating "data may be in an unstable state – This problem is tracked in JRA-63636.
              • An "IndexOutOfBoundsException" is raised – This is also tracked in JRA-63636.
              • A "Sub-task" issue type from Trello – This problem is tracked in JRA-59710.

            For those concerned about the default issue type scheme: prior to JIRA 6.4, the default issue type scheme was automatically updated to contain every issue type. However, in JIRA 6.4+, a decision was made to change this behaviour – the reasoning can be noted in the discussion on JRA-59866. This has, understandably, caused some confusion; indeed, this issue was originally raised citing the default issue type scheme as the problem. However, the actual faulty behaviour was the move issue feature not working without all issues being present in the default issue type scheme; this has been fixed in JIRA 7.1.0.

            If you have any questions or concerns, please don't hesitate to ask – I'm still listening

            Cheers,
            Chris.

            Daz added a comment - Hi everyone, As per my previous comment, I am closing this issue as fixed in JIRA 7.1.0. With that said, after reviewing each comment and reviewing this issue with support engineers, I've concluded that there were multiple problems being reported against this issue. You may want to follow one of these other issues: Importing issues from Trello doesn't work properly, either because of... An invalid issue type error – This problem is tracked in JRA-63625 . An error stating "data may be in an unstable state – This problem is tracked in JRA-63636 . An "IndexOutOfBoundsException" is raised – This is also tracked in JRA-63636 . A "Sub-task" issue type from Trello – This problem is tracked in JRA-59710 . For those concerned about the default issue type scheme: prior to JIRA 6.4, the default issue type scheme was automatically updated to contain every issue type. However, in JIRA 6.4+, a decision was made to change this behaviour – the reasoning can be noted in the discussion on JRA-59866 . This has, understandably, caused some confusion; indeed, this issue was originally raised citing the default issue type scheme as the problem. However, the actual faulty behaviour was the move issue feature not working without all issues being present in the default issue type scheme; this has been fixed in JIRA 7.1.0. If you have any questions or concerns, please don't hesitate to ask – I'm still listening Cheers, Chris.

            Daz added a comment -

            Hi everybody,

            I've spent some time understanding this issue. There appear to be two definitions for what this bug is:

            1. People cannot move issues between projects, and
            2. Issue types are not being added to the default issue type scheme.

            Though I can see where (2) has the potential to cause problems, I've been focusing on and testing what versions of JIRA that (1) occurs in.

            From my testing, moving issues between projects – where projects do not share issue type schemes, and the default issue type scheme does not include all issue types – works as of JIRA 7.1.0.

            To echo a comment made by dmeyer on JRA-59866:

            Hi everyone,

            We do not plan to address this report. The behavior of the default issue type scheme in JIRA 7.0 and up is intentional and documented. As our documentation says "new issue type will be automatically added to the Default Issue Type Scheme". This does not mean that all issue types in JIRA, especially those defined in project blueprints from JIRA Software, JIRA Service Desk, and JIRA Core will automatically be added to the Default Issue Type Scheme.

            Unfortunately, there are places in JIRA that make assumptions about the issue types present in the Default Issue Type Scheme. We will begin to address these on a case-by-case basis. For starters, we have reopened JRA-46227.

            Regards,
            Dave Meyer
            Senior Product Manager, JIRA

            Based on this context, and that moving issues between projects – the actual desired product behaviour – works in JIRA 7.1.0, I am planning to resolve this issue as fixed in 7.1.0.

            To avoid conflating this issue further, if there are product behaviours other than moving issues that appear to be broken because of the default issue type scheme changes, we will raise separate issues for them. This will allow us to address restoring the desired behaviour rather than a special configuration.

            Regards,
            Chris.

            Daz added a comment - Hi everybody, I've spent some time understanding this issue. There appear to be two definitions for what this bug is: People cannot move issues between projects, and Issue types are not being added to the default issue type scheme. Though I can see where (2) has the potential to cause problems, I've been focusing on and testing what versions of JIRA that (1) occurs in. From my testing, moving issues between projects – where projects do not share issue type schemes, and the default issue type scheme does not include all issue types – works as of JIRA 7.1.0. To echo a comment made by dmeyer on JRA-59866 : Hi everyone, We do not plan to address this report. The behavior of the default issue type scheme in JIRA 7.0 and up is intentional and documented. As our documentation says "new issue type will be automatically added to the Default Issue Type Scheme". This does not mean that all issue types in JIRA, especially those defined in project blueprints from JIRA Software, JIRA Service Desk, and JIRA Core will automatically be added to the Default Issue Type Scheme. Unfortunately, there are places in JIRA that make assumptions about the issue types present in the Default Issue Type Scheme. We will begin to address these on a case-by-case basis. For starters, we have reopened JRA-46227 . Regards, Dave Meyer Senior Product Manager, JIRA Based on this context, and that moving issues between projects – the actual desired product behaviour – works in JIRA 7.1.0, I am planning to resolve this issue as fixed in 7.1.0. To avoid conflating this issue further, if there are product behaviours other than moving issues that appear to be broken because of the default issue type scheme changes, we will raise separate issues for them. This will allow us to address restoring the desired behaviour rather than a special configuration. Regards, Chris.

            Andrew Whelan added a comment - - edited

            JIRA (Dario Bonotto) please can you advise why this issue has been reduced to low priority (priority changed from low to medium, then medium to low)?  This defect is a significant barrier to using JIRA efficiently.

            Andrew Whelan added a comment - - edited JIRA (Dario Bonotto) please can you advise why this issue has been reduced to low priority (priority changed from low to medium, then medium to low)?  This defect is a significant barrier to using JIRA efficiently.

            T H added a comment - - edited

            Even when I have two projects with a shared configuration (new feature of JIRA 7), moving an issue not contained in the default issue type scheme does fail due to the missing issue type. This is obviously nonsense, but I've lost 3 hours with this bug. And others will hit this trap also.

            The suggested workaround with manipulating the JIRA configuration via SQL is not an acceptable way IMHO. Fortunately the "may help" workaround using "bulk move" did work for me. This should be the first option in KB [article|https://confluence.atlassian.com/jirakb/unable-to-move-issue-to-another-issue-type-due-to-the-issue-type-selected-is-invalid-error-227413483.html].

            Moving existing issues to another project ist not unusual. And many customers may have own issue types not included in the default scheme. So the fix of the move functionality should be solved with a higher priority!

            T H added a comment - - edited Even when I have two projects with a shared configuration (new feature of JIRA 7), moving an issue not contained in the default issue type scheme does fail due to the missing issue type. This is obviously nonsense, but I've lost 3 hours with this bug. And others will hit this trap also. The suggested workaround with manipulating the JIRA configuration via SQL is not an acceptable way IMHO. Fortunately the "may help" workaround using "bulk move" did work for me. This should be the first option in KB [article| https://confluence.atlassian.com/jirakb/unable-to-move-issue-to-another-issue-type-due-to-the-issue-type-selected-is-invalid-error-227413483.html ]. Moving existing issues to another project ist not unusual. And many customers may have own issue types not included in the default scheme. So the fix of the move functionality should be solved with a higher priority!

            Dave Meyer added a comment -

            Dave Meyer added a comment - Reopened. See comment on JRA-59866 .

              cdarroch Daz
              031f8cec8a9a Joanna Thurmann (SR)
              Affected customers:
              23 This affects my team
              Watchers:
              36 Start watching this issue

                Created:
                Updated:
                Resolved: