![]() So, as a coder, you must take all the available options to ensure perfect solutions. Your clients are expecting nothing but the best from you. So, keep reading if you are interested in picking one of these two project tracking tools.Īs a programmer, you will have to work with plenty of partners with a lot of expectations. We will describe all the important details related to these two tools and compare them for your reference. Jira comparison if you want to choose the best of the two. encode( 'utf-8'), project_id.You can read this YouTrack vs. Print( "=> Importing Project '%s' (%s)" % If hasattr( project, 'description') and project. "Project '%s' doesn't exist in Redmine" % pid)ĭef _get_project( self, project_id, by_internal_id = False): New_projects = [ pid for pid in project_idsįor project in self. values():ĭef _get_projects( self, project_ids = None, by_internal_id = False): ![]() RedmineException as e:įor project in projects2import. _get_projects( project_ids)Įxcept youtrackutils. get( 'project_lead_login'):įor login in ( 'root', 'admin', 'administrator', 'guest'): Print( "You have to provide YouTrack token or login/password") _target = Connection( params, token = token) Print( "Cannot load token from file: " str( e)) Print( "You have to provide Redmine API key or login/password") _help_ = "For instructions, see: " help_url įield_names = youtrackutils. Print( "Data file is not accessible: " str( e)) do_import( project_ids)ĭef check_file_and_save( filename, params, key): ![]() get( 'mapping_file'))Įxcept ( ValueError, KeyError, Inde圎rror): Return dump_map_file( get_mappings(), params. argv, 'hwsla:gu:p:U:P:m:t:T:d:M')Ĭheck_file_and_save( val, params, 'mapping_file')Ĭheck_file_and_save( val, params, 'token_file') """ % ( basename, help_url, basename, basename)) Generate mapping file (can be customized and used for further import) s Skip an issue in case of server errors (instead terminating import) l Create a field linking imported redmine tasks with youtrack's M Treat descriptions and comments as Markdown while importing w Import time entries (works only with YouTrack 4.2 or higher) g Generate mapping file from the defaults YouTrack user to set as project lead for imported projects Path to mapping file that maps columns from csv to YouTrack fields Redmine user login to perform import on behalf of YouTrack user login to perform import on behalf of ![]() Needs and re-run the script with the mapping file using -m option. To generate mapping file Then you'll be able to modify the file to feet your ![]() If you wish to modify the settings you can run the script with -g option Tracker, like how fields from source tracker should be imported to YouTrack. The script uses default mapping settings to import data from source Project_id Redmine project identifier (can be found on project's page) connection import Connectionįrom youtrack. Please use python 2.7 \n")įrom youtrack. Print( " \nThe script doesn't support python 3. mapfile import dump_map_file, load_map_file Usage Function main Function check_file_and_save Function get_mappings Function update_mappings Function to_unixtime Function RedmineImporter Class _init_ Function do_import Function _get_projects Function _get_project Function _get_project_name Function _import_project Function _to_yt_user Function _to_yt_group Function _to_yt_role Function _to_yt_version Function _to_yt_subsystem Function _get_assignee_group_name Function _get_yt_issue_id Function _to_yt_issue_id Function _get_yt_issue_number Function _import_members Function _import_roles Function _import_issues Function _make_issue Function _convert_value Function _get_yt_field_name Function _get_yt_field_type Function _add_field_to_issue Function _create_field Function _create_field_value Function _get_value_presentation Function _create_user Function _create_group Function _add_journals Function _enable_timetracking Function _add_work_items Function _add_attachments Function _collect_relations Function _push_relation Function _apply_relations Function RedmineAttachment Class _init_ Function getContent Functionįrom youtrackutils. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |