•  
      request #40430 fatal error in jira exporter
    Infos
    #40430
    Marie Ange Garnier (marieange)
    2024-11-14 10:10
    2024-11-06 10:29
    42056
    Details
    fatal error in jira exporter

    Campagne Tuleap 16.1 - Non regression
    Résumé du test Import Jira project
    Description du test

    You will need an access to a Jira platform. In this test, we will use https://belledonne.atlassian.net

    You must also have access to the Tuleap test server with SSH to run the import command.

     

    [info] GET: /rest/api/2/issue/IE-3/comment?expand=renderedBody&startAt=0
    PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php:137
    Stack trace:
    #0 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php(66): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\FieldChangeXMLExporter->exportFieldChange()
    #1 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php(127): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\FieldChangeXMLExporter->exportFieldChanges()
    #2 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php(100): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\DataChangesetXMLExporter->exportSnapshotInXML()
    #3 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/IssueAsArtifactXMLExporter.php(84): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\DataChangesetXMLExporter->exportIssueDataInChangesetXML()
    #4 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsInDedicatedTrackerXMLExporter.php(78): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\IssueAsArtifactXMLExporter->exportIssueInArtifactXMLFormat()
    #5 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraIssuesFromIssueTypeInDedicatedTrackerInXmlExporter.php(356): Tuleap\Tracker\Creation\JiraImporter\Import\Artifact\ArtifactsInDedicatedTrackerXMLExporter->exportArtifacts()
    #6 /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraAllIssuesMultiTrackersInXmlExporter.php(88): Tuleap\Tracker\Creation\JiraImporter\Import\JiraIssuesFromIssueTypeInDedicatedTrackerInXmlExporter->exportIssuesToXml()
    #7 /usr/share/tuleap/plugins/jira_import/include/Project/CreateProjectFromJira.php(370): Tuleap\Tracker\Creation\JiraImporter\Import\JiraAllIssuesMultiTrackersInXmlExporter->exportAllProjectIssuesToXml()
    #8 /usr/share/tuleap/src/common/NeverThrow/Ok.php(70): Tuleap\JiraImport\Project\CreateProjectFromJira->Tuleap\JiraImport\Project\{closure}()
    #9 /usr/share/tuleap/plugins/jira_import/include/Project/CreateProjectFromJira.php(291): Tuleap\NeverThrow\Ok->andThen()
    #10 /usr/share/tuleap/plugins/jira_import/include/Project/CreateProjectFromJira.php(117): Tuleap\JiraImport\Project\CreateProjectFromJira->generateFromJira()
    #11 /usr/share/tuleap/plugins/jira_import/include/Project/CreateProjectFromJiraCommand.php(244): Tuleap\JiraImport\Project\CreateProjectFromJira->create()
    #12 /usr/share/tuleap/src/vendor/symfony/console/Command/Command.php(326): Tuleap\JiraImport\Project\CreateProjectFromJiraCommand->execute()
    #13 /usr/share/tuleap/src/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
    #14 /usr/share/tuleap/src/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
    #15 /usr/share/tuleap/src/common/CLI/Application.php(75): Symfony\Component\Console\Application->doRun()
    #16 /usr/share/tuleap/src/vendor/symfony/console/Application.php(175): Tuleap\CLI\Application->doRun()
    #17 /usr/share/tuleap/src/utils/tuleap.php(342): Symfony\Component\Console\Application->run()
    #18 {main}
      thrown in /usr/share/tuleap/plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php on line 137
     

    Empty
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2024-11-14
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Summary
      -fatal error in jira imorter 
      +fatal error in jira exporter 
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes