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 class
AsanaToYouTrack.Options
static class
AsanaToYouTrack.Result
-
Constructor Summary
Constructors Constructor Description AsanaToYouTrack(net.florianschoppmann.issuetracking.asana.Export export)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsanaToYouTrack.Result
youTrackFromAsanaProject(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.
-
-
-
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
- ifemailToLoginNameMap
contains a key where the email address is not equal toString.toLowerCase()
applied itIOException
-
-