Class AsanaToYouTrack


  • public final class AsanaToYouTrack
    extends Object
    • 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 ID
        attachmentsBasePath - path that the attachments of this projects will be stored in
        projectPrefix - 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 - if emailToLoginNameMap contains a key where the email address is not equal to String.toLowerCase() applied it
        IOException