Issue Summary

      When issues are imported using JSON import, history of issues is not persisted.

      This means that JQLs like `status was STH` are not imported.

      Steps to Reproduce

      1. Import issues containing history items using JSON importer 

      Expected Results

      History of issues is saved.

      Actual Results

      History is not saved.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [JRACLOUD-81990] JSON import does not import history items

            Atlassian Update - January 2024

            As I did not receive any responses to this comment I am closing this ticket.

            If you do not think this issue should have been closed, please add a comment here saying why and we can reopen it.

            Anusha Rutnam added a comment - Atlassian Update - January 2024 As I did not receive any responses to this comment I am closing this ticket. If you do not think this issue should have been closed, please add a comment here saying why and we can reopen it.

            Anusha Rutnam added a comment - - edited

            Do the watchers of this ticket still experience this issue? I am not able to repro using the following JSON:

            {
                "links": [
                    {
                        "name": "sub-task-link",
                        "sourceId": "2",
                        "destinationId": "1"
                    },
                    {
                        "name": "Duplicate",
                        "sourceId": "3",
                        "destinationId": "2"
                    }
                ],
                "projects": [
                    {
                        "name": "A Sample Project",
                        "type":"software",
                        "key": "ASM",
                        "description": "JSON file description",
                        "versions": [
                            {
                                "name": "1.0",
                                "released": true,
                                "releaseDate": "2012-08-31T15:59:02.161+0100"
                            },
                            {
                                "name": "2.0"
                            }
                        ],
                        "components": [
                            "Component",
                            "AnotherComponent"
                        ],
                        "issues": [
                            {
                                "priority": "Major",
                                "description": "Some nice description here\nMaybe _italics_ or *bold*?",
                                "status": "Closed",
                                "reporter": "abcde-12345-fedcba",
                                "labels": [
                                    "impossible",
                                    "to",
                                    "test"
                                ],
                                "watchers": [
                                    "abcde-12345-fedcba"
                                ],
                                "issueType": "Bug",
                                "resolution": "Resolved",
                                "created": "2012-08-31T17:59:02.161+0100",
                                "updated": "2012-08-31T17:59:02.161+0100",
                                "affectedVersions": [
                                    "1.0"
                                ],
                                "summary": "My chore for today",
                                "assignee": "abcde-12345-fedcba",
                                "fixedVersions": [
                                    "1.0",
                                    "2.0"
                                ],
                                "components": [
                                    "Component",
                                    "AnotherComponent"
                                ],
                                "externalId": "1",
                                "history": [
                                    {
                                        "author": "abcde-12345-fedcba",
                                        "created": "2012-08-31T15:59:02.161+0100",
                                        "items": [
                                            {
                                                "fieldType": "jira",
                                                "field": "status",
                                                "from": "1",
                                                "fromString": "Open",
                                                "to": "5",
                                                "toString": "Resolved"
                                            }
                                        ]
                                    }
                                ],
                                "customFieldValues": [
                                    {
                                        "fieldName": "Story Points",
                                        "fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float",
                                        "value": "15"
                                    },
                                    {
                                        "fieldName": "Business Value",
                                        "fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float",
                                        "value": "34"
                                    }
                                ],
                                "attachments": [
                                    {
                                        "name": "battarang.jpg",
                                        "attacher": "bob@example.com",
                                        "created": "2012-08-31T17:59:02.161+0100",
                                        "uri": "http://optimus-prime/~batman/images/battarang.jpg",
                                        "description": "This is optimus prime"
                                    }
                                ]
                            },
                            {
                                "status": "Open",
                                "reporter": "abcde-12345-fedcba",
                                "issueType": "Sub-task",
                                "created": "P-3D",
                                "updated": "P-1D",
                                "summary": "Sub-task",
                                "externalId": "2"
                            },
                            {
                                "status": "Closed",
                                "reporter": "abcde-12345-fedcba",
                                "issueType": "Sub-task",
                                "created": "P-3D",
                                "updated": "P-1D",
                                "resolution": "Duplicate",
                                "summary": "Duplicate Sub-task",
                                "externalId": "3"
                            }
                        ]
                    }
                ]
            }
            

            Issue:

            Anusha Rutnam added a comment - - edited Do the watchers of this ticket still experience this issue? I am not able to repro using the following JSON: { "links" : [ { "name" : "sub-task-link" , "sourceId" : "2" , "destinationId" : "1" }, { "name" : "Duplicate" , "sourceId" : "3" , "destinationId" : "2" } ], "projects" : [ { "name" : "A Sample Project" , "type" : "software" , "key" : "ASM" , "description" : "JSON file description" , "versions" : [ { "name" : "1.0" , "released" : true , "releaseDate" : "2012-08-31T15:59:02.161+0100" }, { "name" : "2.0" } ], "components" : [ "Component" , "AnotherComponent" ], "issues" : [ { "priority" : "Major" , "description" : "Some nice description here\nMaybe _italics_ or *bold*?" , "status" : "Closed" , "reporter" : "abcde-12345-fedcba" , "labels" : [ "impossible" , "to" , "test" ], "watchers" : [ "abcde-12345-fedcba" ], "issueType" : "Bug" , "resolution" : "Resolved" , "created" : "2012-08-31T17:59:02.161+0100" , "updated" : "2012-08-31T17:59:02.161+0100" , "affectedVersions" : [ "1.0" ], "summary" : "My chore for today" , "assignee" : "abcde-12345-fedcba" , "fixedVersions" : [ "1.0" , "2.0" ], "components" : [ "Component" , "AnotherComponent" ], "externalId" : "1" , "history" : [ { "author" : "abcde-12345-fedcba" , "created" : "2012-08-31T15:59:02.161+0100" , "items" : [ { "fieldType" : "jira" , "field" : "status" , "from" : "1" , "fromString" : "Open" , "to" : "5" , "toString" : "Resolved" } ] } ], "customFieldValues" : [ { "fieldName" : "Story Points" , "fieldType" : "com.atlassian.jira.plugin.system.customfieldtypes: float " , "value" : "15" }, { "fieldName" : "Business Value" , "fieldType" : "com.atlassian.jira.plugin.system.customfieldtypes: float " , "value" : "34" } ], "attachments" : [ { "name" : "battarang.jpg" , "attacher" : "bob@example.com" , "created" : "2012-08-31T17:59:02.161+0100" , "uri" : "http: //optimus-prime/~batman/images/battarang.jpg" , "description" : "This is optimus prime" } ] }, { "status" : "Open" , "reporter" : "abcde-12345-fedcba" , "issueType" : "Sub-task" , "created" : "P-3D" , "updated" : "P-1D" , "summary" : "Sub-task" , "externalId" : "2" }, { "status" : "Closed" , "reporter" : "abcde-12345-fedcba" , "issueType" : "Sub-task" , "created" : "P-3D" , "updated" : "P-1D" , "resolution" : "Duplicate" , "summary" : "Duplicate Sub-task" , "externalId" : "3" } ] } ] } Issue:

            Hello!

            We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to fill out this survey. Your feedback will help us learn how we can improve your experience in importing data.

            Survey link - https://forms.gle/NYNkmS92r96z42QV9

            Thanks!

            Prashanth M
            Product Manager, Jira Platform

            Prashanth M added a comment - Hello! We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to  fill out this survey . Your feedback will help us learn how we can improve your experience in importing data. Survey link -  https://forms.gle/NYNkmS92r96z42QV9 Thanks! Prashanth M Product Manager, Jira Platform

              Unassigned Unassigned
              mszerszynski Mateusz Szerszyński
              Affected customers:
              4 This affects my team
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: