stable

Clone or download

Read-only

Add the create from jira option in new tracker creation UI

part of story #14766 Have an import from jira structure How to test: set the new option with tuleap config-set display_jira_importer 1 Go in tracker creation UI => a new block "create from jira" is displayed => choose it => you must fill server_url, username and token => if credentials are invalid an error message is displayed and you can fill your data again => if credentials are valid, a select box list the jira project found This patch is big enough, once project and tracker are selected, you can go on step 2. It will be done in a dedicated patchset Change-Id: Ie251c8dc6c76528b655f0cbee435a96b017f10da

Modified Files

Name
A plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php +91 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraConnectionException.php +111 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectBuilder.php +84 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectCollection.php +42 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraTrackerListController.php +115 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationPresenter.php +6 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +27 −2 Go to diff View file
A plugins/tracker/phpunit/Tracker/Creation/JiraImporter/ClientWrapperTest.php +86 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/Creation/JiraImporter/JiraProjectBuilderTest.php +115 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/Creation/JiraImporter/JiraTrackerListControllerTest.php +116 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/index.ts +10 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/po/fr_FR.po +20 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOne.vue +6 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/SvgFromJira.vue +31 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJira.test.ts +85 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJira.vue +130 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraCard.vue +49 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraDescription.vue +29 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraProject.test.ts +40 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraProject.vue +49 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraServer.test.ts +41 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/TrackerFromJiraServer.vue +70 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/__snapshots__/TrackerFromJira.test.ts.snap +31 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/__snapshots__/TrackerFromJiraProject.test.ts.snap +49 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/FromJira/__snapshots__/TrackerFromJiraServer.test.ts.snap +66 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/store/actions.test.ts +52 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/store/actions.ts +41 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/index.ts +2 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.ts +10 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/type.ts +27 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +15 −0 Go to diff View file
M plugins/tracker/templates/tracker-creation/tracker-creation-app.mustache +1 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-options-cards.scss +4 −0 Go to diff View file