stable

Clone or download

Read-only

[feature] Jira import must work with Personnal Access Token

This fixes request #22612 Jira imports must work with API or Personal tokens With the current implementation, Jira imports (tracker only or projects) only work with API token. However, these API tokens are only available on Jira cloud. Self hosted Jira instances have tokens named "Personal Access Tokens" [1] Both Jira imports in Tuleap must deal with both API and Personal Tokens. [1] https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html Change-Id: I42c59491e0cf62a79bfd62c051ac8f38bfe405fc

Modified Files

Name
M plugins/jira_import/include/Project/CreateProjectFromJiraCommand.php +2 −2 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Client/JiraHTTPClientBuilder.php +50 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php +3 −7 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloader.php +3 −7 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraInstanceURLChecker.php +36 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraInstanceURLCheckerTest.php +51 −0 Go to diff View file