stable

Clone or download

Read-only

Jira is imported asynchronously

This is hidden behind a feature flag. Please issue the following command in order to use it: tuleap config-set asynchronous_jira_creation 1 Once created in the interface, an event will be processed and the Jira issues will be imported. * In case of error (ex: wrong credentials, xml parse, …) the user will receive an email about this error. * In case of success, the user will receive an email with the link to the new tracker. In any case, the pending import is removed, forcing the user to start over in case of error. If this design choice appears to be too cumbersome, then we could adjust this later. You must have a working Redis in your stack[0] Part of story #14766: Have an import from jira structure [0] https://docs.tuleap.org/developer-guide/back-end/redis.html Change-Id: I6b8bf8fd5e11ffd24c6fc86036952c9e39de32e8

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/AsynchronousJiraRunner.php +13 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/CancellationOfJiraImportNotifier.php +1 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +163 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraErrorImportNotifier.php +114 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraRunner.php +89 −3 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraSuccessImportNotifier.php +112 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImport.php +34 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportBuilder.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/notification-cancel-html.mustache +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/notification-cancel-text.mustache +2 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/notification-error-html.mustache +43 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/notification-error-text.mustache +23 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/notification-success-html.mustache +17 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/notification-success-text.mustache +15 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreator.php +19 −57 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +37 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +20 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/FromJiraTrackerCreatorTest.php +102 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraRunnerTest.php +413 −8 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/PendingJiraImportBuilderTest.php +3 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/TrackerCreatorTest.php +34 −38 Go to diff View file