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

Jira allows update to invalid issue type through CSV Import

      Summary

      • When importing a CSV file, Jira does not perform any type of verification. Because of that, it is possible to change an issue's issue type to an issue type with different workflow / type (e.g. Task issue type to Sub-task issue type), resulting in data inconsistencies.

      Details

      • Because of this bug, it is possible to change an issue's Issue Type from a TASK issue type to a Sub-task issue type, causing inconsistencies (check JRACLOUD-67480: Lack of parent/sub-task validation in CSV import causes invalid state for more details)
      • Furthermore, this error results in Workflow inconsistencies, as the workflow associated in the database does not match the one showed in the UI

        • Note: In this case, the name column describes the workflow actually associated with the issue. By accessing the issue through the UI and clicking View workflow, the workflow displayed is the one defined in the Workflow column

      How to reproduce

      1. Create an issue with any issue type
      2. Create a CSV file to update that issue's issue type, such as the one below:
        Issue Id,Issue Type,Summary
        <Issue Key>,<New Issue type>,,
        
        • Notice that in order to reproduce the bug, the issue type should be one that uses a different workflow in the project
      3. Go to System > External System Import > CSV and import the issue in the project

      Expected Behavior:

      • Jira should not allow the user to update the issue to an invalid issue type

      Actual Behavior:

      • Jira allows the user to update the issue to any issue type (including a Sub-task issue type, causing the issue to have no parent)

      Proposed solution:

      • Jira could use the same verification used when trying to edit an issue's issue type through the View Issue screen

            [JRACLOUD-68503] Jira allows update to invalid issue type through CSV Import

            Megha added a comment -
            Atlassian Update - October 26, 2020

            Hi everyone,

            Thank you for previously raising this bug and bringing it to our attention.

            Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users.

            As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know.

            Thank you again for providing valuable feedback to our team!
            Jira Cloud team

            Megha added a comment - Atlassian Update - October 26, 2020 Hi everyone, Thank you for previously raising this bug and bringing it to our attention. Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users. As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know. Thank you again for providing valuable feedback to our team! Jira Cloud team

              Unassigned Unassigned
              lhubert@atlassian.com Leonardo H
              Affected customers:
              3 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: