Class AsanaToYouTrack
- java.lang.Object
-
- net.florianschoppmann.issuetracking.conversion.AsanaToYouTrack
-
public final class AsanaToYouTrack extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsanaToYouTrack.Optionsstatic classAsanaToYouTrack.Result
-
Constructor Summary
Constructors Constructor Description AsanaToYouTrack(Export export)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsanaToYouTrack.ResultyouTrackFromAsanaProject(String projectId, Path attachmentsBasePath, String projectPrefix, Map<String,String> emailToLoginNameMap, AsanaToYouTrack.Options options)Returns a new YouTrack Issues object that represents the given Asana export.
-
-
-
Constructor Detail
-
AsanaToYouTrack
public AsanaToYouTrack(Export export)
-
-
Method Detail
-
youTrackFromAsanaProject
public AsanaToYouTrack.Result youTrackFromAsanaProject(String projectId, Path attachmentsBasePath, String projectPrefix, Map<String,String> emailToLoginNameMap, AsanaToYouTrack.Options options) throws IOException
Returns a new YouTrack Issues object that represents the given Asana export.- Parameters:
projectId- Asana project IDattachmentsBasePath- path that the attachments of this projects will be stored inprojectPrefix- Prefix for the YouTrack project. The should not include a hyphen (-).emailToLoginNameMap- Map from email addresses to login names. The email addresses must be all lower case.options- options for the conversion- Throws:
IllegalArgumentException- ifemailToLoginNameMapcontains a key where the email address is not equal toString.toLowerCase()applied itIOException
-
-