Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args defaults body TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Return Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot CompareIs AttributeLoad NameLoad attr NameLoad body If Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareGt NameLoad Num CompareGt NameLoad BinOpAdd NameLoad Num body If CompareGt Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad attr Str Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Return TupleLoad NameLoad NameLoad orelse If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr NameLoad orelse Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body If CompareNotEq SubscriptLoad NameLoad Index NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad BinOpDiv Call NameLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Slice Num Num AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Print BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Print Str Assign NameStore Call NameLoad ListLoad Assign NameStore Call NameLoad ListLoad For NameStore NameLoad body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Print Str Expr Call NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign TupleStore AttributeStore NameLoad attr NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Str NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad For NameStore NameLoad body Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If Call NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Print Str Print Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Assign NameStore Num Assign NameStore Num For NameStore NameLoad body Print BinOpMod Str Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Num If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Num Print Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str NameLoad Assign NameStore Call NameLoad ListLoad Print Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str NameLoad Print Str Print Str For NameStore NameLoad body Print BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Str Print Str Print Str For NameStore NameLoad body Print BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Print BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Print Str Print Str Assign NameStore NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Print Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Assign NameStore NameLoad Print BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr NameLoad Print Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A string capitalize N/A urllib youtrack.connection Connection tracLib.client Client N/A youtrack N/A sys N/A tracLib N/A tracLib.defaultTrac N/A youtrack.connection youtrack.importHelper * main N/A N/A N/A N/A N/A N/A N/A N/A target_url target_login target_password project_ID project_name env_path N/A N/A sys argv N/A 1 N/A N/A url                  :  target_url N/A N/A login                :  target_login N/A N/A pass                 :  target_password N/A N/A id                   :  project_ID N/A N/A name                 :  project_name N/A N/A trac environment at  :  env_path N/A N/A N/A BaseException N/A e N/A N/A e N/A N/A N/A trac2youtrack target_url target_login target_password project_ID project_name env_path N/A to_youtrack_user N/A N/A trac_user N/A N/A N/A 
    Converts Trac user to YT user.

    Args:
        trac_user: TracUser instance.

    Returns:
        YT user with same email and login as trac user. If trac_user doesn't have email,
        tracLib.DEFAULT_EMAIL is set.
     N/A user N/A N/A youtrack User N/A N/A user login N/A trac_user name N/A N/A user email N/A tracLib DEFAULT_EMAIL N/A N/A N/A N/A trac_user email None N/A N/A N/A len N/A trac_user email N/A N/A N/A user email N/A trac_user email N/A user N/A to_non_authorised_youtrack_user N/A N/A user_name N/A N/A N/A 
    This method is for creating YT users for people, who were not authorised in Trac, but left their names,
    and probably emails.

    Args:
        user_name: String, that represents user. It must have format "login_name <email_address>".

    Returns:
        If user_name can be parsed, returns YT user with login login_name and email email_address,
         else returns None

     N/A N/A user_name None N/A N/A None N/A user N/A N/A youtrack User N/A start N/A N/A user_name find < N/A end N/A N/A user_name rfind > N/A N/A N/A start -1 N/A end N/A start 1 N/A N/A N/A N/A N/A user_name find @ start end 0 N/A N/A N/A user email N/A N/A N/A user_name N/A N/A start 1 end replace _ N/A N/A user login N/A N/A N/A user_name N/A N/A start 1 end replace _ N/A user N/A None N/A process_non_authorised_user N/A N/A connection registered_users user_name N/A N/A N/A 
    This method tries to create new YT user for trac non-authorised user.

    Args:
        connection: youtrack.connection object.
         registered_users: list of user logins, that were previously registered in YT.
         user_name: String, that represents user. It must have format "login_name <email_address>".

    Returns:
        New user login and updated list of registered users logins. If it is impossible to create
        new YT user, then user login is None.
     N/A N/A tracLib ACCEPT_NON_AUTHORISED_USERS N/A N/A yt_user N/A to_non_authorised_youtrack_user user_name N/A N/A yt_user None N/A N/A N/A None registered_users N/A N/A N/A N/A N/A yt_user login registered_users N/A N/A N/A N/A connection importUsers N/A yt_user N/A N/A N/A registered_users add N/A yt_user login N/A N/A N/A yt_user login registered_users N/A N/A N/A None registered_users N/A to_youtrack_subsystem N/A N/A trac_component yt_bundle N/A N/A N/A 
    Converts trac component to YT subsystem.

    Args:
        trac_component: Trac component to convert.
        yt_bundle: YT field bundle to create component in.

    Returns:
        YT field, that has same name, owner and description, as trac component has.

     N/A yt_subsystem N/A N/A yt_bundle createElement N/A trac_component name N/A N/A yt_subsystem owner N/A trac_component owner N/A N/A yt_subsystem description N/A trac_component description N/A yt_subsystem N/A to_youtrack_issue N/A N/A trac_issue check_box_fields N/A N/A N/A issue N/A N/A youtrack Issue N/A N/A issue numberInProject N/A str N/A trac_issue id N/A N/A issue summary N/A trac_issue summary N/A N/A issue description N/A trac_issue description N/A N/A N/A trac_issue time 0 N/A N/A N/A issue created N/A str N/A trac_issue time N/A N/A N/A trac_issue changetime 0 N/A N/A N/A issue updated N/A str N/A trac_issue changetime N/A N/A N/A trac_issue reporter None N/A N/A N/A issue reporterName guest N/A N/A N/A issue reporterName N/A trac_issue reporter N/A N/A issue watcherName N/A set N/A N/A cc N/A trac_issue cc N/A N/A N/A N/A N/A issue watcherName add cc N/A custom_fields N/A trac_issue custom_fields N/A cf N/A N/A custom_fields keys N/A N/A N/A cf check_box_fields N/A N/A N/A N/A custom_fields N/A cf 0 N/A N/A N/A issue N/A cf N/A check_box_fields N/A cf N/A N/A value N/A custom_fields N/A cf N/A N/A cf N/A N/A N/A tracLib FIELD_NAMES keys N/A N/A cf N/A N/A tracLib FIELD_NAMES N/A cf N/A N/A cf N/A N/A N/A tracLib FIELD_VALUES keys N/A N/A cf_values_mapping N/A N/A tracLib FIELD_VALUES N/A cf N/A N/A value cf_values_mapping N/A N/A value N/A cf_values_mapping N/A value N/A N/A N/A value None N/A N/A N/A value strip N/A N/A N/A issue N/A cf value N/A N/A issue comments N/A N/A comment N/A trac_issue comments N/A N/A N/A N/A N/A issue comments append N/A to_youtrack_comment comment N/A issue N/A to_youtrack_version N/A N/A trac_version yt_bundle N/A N/A N/A "
    This method converts trac version to YT version.

    Args:
        trac_version: Trac version to convert.
        yt_bundle: YT field bundle to create version in.

    Returns:
        YT version that has same name, description and release date as trac version.
        New version is released and not archived.
     N/A version N/A N/A yt_bundle createElement N/A trac_version name N/A N/A version isReleased True N/A N/A version isArchived False N/A N/A version description N/A trac_version description N/A N/A version releaseDate N/A trac_version time N/A version N/A to_youtrack_comment N/A N/A trac_comment N/A N/A N/A 
    This method converts trac comment to youtrack comment

    Args:
        trac_comment: Trac comment to convert

    Returns:
        YT comment, which has same author as initial comment. If initial comment
        author was anonymous, comment is added from behalf of guest user. YT comment
        gets same creation date as trac comment.
     N/A comment N/A N/A youtrack Comment N/A N/A N/A trac_comment author anonymous N/A N/A N/A comment author guest N/A N/A N/A comment author N/A trac_comment author N/A N/A comment text N/A trac_comment content N/A N/A comment created N/A str N/A trac_comment time N/A comment N/A trac_values_to_youtrack_values N/A N/A field_name value_names N/A N/A N/A 
    This method converts trac custom field valued values to YT custom field values using
    mapping file (FIELD_VALUES dict). If some value is not in this dictionary, it is added
    to result as is.

    Args:
        field_name: Name of YT custom field to convert values for.
        value_names: trac value names.

    Returns:
        List of strings, that ahs YT field values. If value_names is None, returns None.
     N/A N/A value_names None N/A N/A None N/A field_values N/A N/A name value_names N/A N/A N/A field_name N/A tracLib FIELD_VALUES N/A N/A N/A name N/A N/A N/A N/A tracLib FIELD_VALUES N/A field_name keys N/A N/A name N/A N/A N/A tracLib FIELD_VALUES N/A field_name N/A name N/A N/A name field_values N/A N/A N/A N/A field_values append name N/A field_values N/A trac_field_name_to_yt_field_name N/A N/A trac_field_name N/A N/A N/A N/A trac_field_name N/A tracLib FIELD_NAMES N/A N/A N/A N/A tracLib FIELD_NAMES N/A trac_field_name N/A trac_field_name N/A create_yt_custom_field N/A N/A connection project_Id field_name value_names N/A N/A N/A 
    Creates YT custom field if needed and attaches it to project with id project_id. Converts Trac value_names
    to YT values and sets those values to project custom field.

    Args:
        connection: Connection instance.
        project_id: Id of project to attach field to.
        field_name: Name of trac field. It will be converted to YT cf name. YT field should be mentioned in tracLib.FIELD_TYPES mapping.
        value_names: Names of Trac cf values. They will be converted to YT values.
     N/A field_values N/A trac_values_to_youtrack_values field_name value_names N/A field_name N/A trac_field_name_to_yt_field_name field_name N/A N/A process_custom_field connection project_Id N/A N/A tracLib FIELD_TYPES N/A field_name field_name field_values N/A to_youtrack_state N/A N/A trac_resolution yt_bundle N/A N/A N/A 
    Creates YT state in yt_bundle with trac_resolution name.

    Args:
        track_resolution: Name of new state to add.
        yt_bundle: FieldBundle to create new state in.

    Returns:
        New resolved YT state with trac_resolution name.
     N/A state N/A N/A yt_bundle createElement N/A trac_resolution name N/A N/A state isResolved True N/A state N/A to_youtrack_workitem N/A N/A trac_workitem N/A N/A N/A workitem N/A N/A youtrack WorkItem N/A N/A workitem date N/A str N/A trac_workitem time N/A N/A workitem duration N/A str N/A N/A int N/A trac_workitem duration 60 N/A N/A workitem authorLogin N/A trac_workitem author N/A N/A workitem description N/A trac_workitem comment N/A workitem N/A create_yt_bundle_custom_field N/A N/A target project_id field_name trac_field_values trac_field_to_youtrack_field N/A N/A N/A 
    Creates YT bundle custom field if needed and attaches it to project with id project_id. If Field is already attached to project,
    adds missing values to bundle, attached with this field. If there is no such custom field, attached to this project, creates bundle
    to attaches with this field, converts trac_field_values to YT field values and adds them to created bundle.

     Args:
        target: Connection instance..
        project_id: Id of project to attach field to.
        field_name: Name of custom field in trac. It will be converted to custom field name in YT.
        trac_field_values: Field values in Trac.
        trac_field_to_yt_field: Methods, that converts trac field value to YT Field in particular bundle
     N/A N/A create_yt_custom_field target project_id field_name N/A N/A field_name N/A trac_field_name_to_yt_field_name field_name N/A field_bundle N/A N/A target getBundle N/A N/A N/A tracLib FIELD_TYPES N/A field_name N/A 0 -3 N/A N/A N/A target getProjectCustomField project_id field_name bundle N/A values_to_add N/A N/A field trac_field_values N/A N/A N/A field_name N/A N/A N/A tracLib FIELD_VALUES keys N/A N/A N/A N/A field name N/A N/A N/A N/A tracLib FIELD_VALUES N/A field_name keys N/A N/A N/A field name N/A N/A N/A tracLib FIELD_VALUES N/A field_name N/A N/A field name N/A N/A N/A values_to_add append N/A trac_field_to_youtrack_field field field_bundle N/A N/A add_values_to_bundle_safe target field_bundle values_to_add N/A trac2youtrack N/A N/A target_url target_login target_password project_ID project_name env_path N/A N/A N/A client N/A Client env_path N/A target N/A Connection target_url target_login target_password N/A N/A Creating project[%s] project_name N/A N/A N/A N/A N/A target getProject project_ID N/A N/A N/A N/A youtrack YouTrackException N/A N/A N/A N/A target createProjectDetailed project_ID project_name N/A N/A client get_project_description target_login N/A trac_users N/A N/A client get_users N/A Importing users N/A yt_users N/A list N/A N/A registered_users N/A set N/A N/A user trac_users N/A N/A N/A Processing user [ %s ] N/A user name N/A N/A N/A registered_users add N/A user name N/A N/A N/A yt_users append N/A to_youtrack_user user N/A N/A N/A target importUsers yt_users N/A Importing users finished N/A Creating project custom fields N/A N/A create_yt_custom_field target project_ID Priority N/A N/A client get_issue_priorities N/A N/A create_yt_custom_field target project_ID Type N/A N/A client get_issue_types N/A trac_resolution_to_yt_state N/A N/A N/A track_field yt_bundle N/A N/A to_youtrack_state track_field yt_bundle N/A N/A create_yt_bundle_custom_field target project_ID Resolution N/A N/A client get_issue_resolutions trac_resolution_to_yt_state N/A trac_versions N/A N/A client get_versions N/A trac_version_to_yt_version N/A N/A N/A trac_field yt_bundle N/A N/A to_youtrack_version trac_field yt_bundle N/A N/A create_yt_bundle_custom_field target project_ID Version trac_versions trac_version_to_yt_version N/A trac_components N/A N/A client get_components N/A cmp trac_components N/A N/A N/A N/A cmp owner registered_users N/A N/A N/A N/A cmp owner registered_users N/A process_non_authorised_user target registered_users N/A cmp owner N/A trac_component_to_yt_subsystem N/A N/A N/A trac_field yt_bundle N/A N/A to_youtrack_subsystem trac_field yt_bundle N/A N/A create_yt_bundle_custom_field target project_ID Component trac_components trac_component_to_yt_subsystem N/A N/A create_yt_custom_field target project_ID Severity N/A N/A client get_severities N/A trac_custom_fields N/A N/A client get_custom_fields_declared N/A check_box_fields N/A dict N/A N/A elem trac_custom_fields N/A N/A N/A Processing custom field [ %s ] N/A elem name N/A type_name None N/A N/A N/A elem type checkbox N/A N/A N/A N/A len N/A elem label 0 N/A N/A opt N/A elem label N/A N/A opt N/A elem name N/A options N/A list N/A opt N/A N/A check_box_fields N/A N/A elem name opt N/A N/A options N/A elem options N/A values None N/A N/A len options N/A N/A values options N/A field_name N/A elem name N/A N/A field_name N/A N/A N/A tracLib FIELD_NAMES keys N/A N/A field_name N/A N/A tracLib FIELD_NAMES N/A field_name N/A field_type N/A N/A tracLib CUSTOM_FIELD_TYPES N/A N/A elem type N/A N/A field_name N/A N/A N/A tracLib FIELD_TYPES keys N/A N/A field_type N/A N/A tracLib FIELD_TYPES N/A field_name N/A N/A process_custom_field target project_ID field_type field_name N/A trac_values_to_youtrack_values field_name values N/A Creating project custom fields finished N/A Importing issues N/A trac_issues N/A N/A client get_issues N/A yt_issues N/A list N/A N/A counter 0 N/A max 100 N/A issue trac_issues N/A N/A N/A Processing issue [ %s ] N/A str N/A issue id N/A counter 1 N/A N/A N/A N/A issue reporter registered_users N/A N/A N/A yt_user registered_users N/A process_non_authorised_user target registered_users N/A issue reporter N/A N/A yt_user None N/A N/A N/A issue reporter guest N/A N/A N/A issue reporter yt_user N/A N/A N/A N/A issue owner registered_users N/A N/A N/A yt_user registered_users N/A process_non_authorised_user target registered_users N/A issue owner N/A N/A yt_user None N/A N/A N/A issue owner N/A N/A N/A issue owner yt_user N/A legal_cc N/A set N/A N/A cc N/A issue cc N/A N/A N/A cc registered_users N/A N/A N/A N/A legal_cc add cc N/A N/A issue cc legal_cc N/A N/A N/A yt_issues append N/A to_youtrack_issue issue check_box_fields N/A N/A counter max N/A N/A counter 0 N/A N/A N/A target importIssues project_ID N/A project_name  Assignees yt_issues N/A yt_issues N/A list N/A N/A N/A N/A target importIssues project_ID N/A project_name  Assignees yt_issues N/A Importing issues finished N/A Importing keywords N/A issue trac_issues N/A N/A N/A Importing tags from issue [ %s ] N/A str N/A issue id N/A tags N/A issue keywords N/A t tags N/A N/A N/A N/A target executeCommand N/A N/A N/A str project_ID - N/A str N/A issue id N/A tag  N/A N/A t encode utf-8 N/A Importing keywords finished N/A Importing attachments N/A issue trac_issues N/A N/A N/A Processing issue [ %s ] N/A str N/A issue id N/A issue_attach N/A issue attachment N/A attach issue_attach N/A N/A N/A Processing attachment [ %s ] N/A N/A N/A attach filename encode utf-8 N/A N/A N/A N/A attach author_name registered_users N/A N/A N/A yt_user registered_users N/A process_non_authorised_user target registered_users N/A attach author_name N/A N/A yt_user None N/A N/A N/A attach author_name guest N/A N/A N/A attach author_name yt_user N/A content N/A open N/A N/A urllib quote N/A N/A N/A attach filename encode utf-8 N/A N/A N/A target createAttachment N/A N/A N/A str project_ID - N/A str N/A issue id N/A attach name content N/A attach author_name created N/A attach time N/A Importing attachments finished N/A Importing workitems N/A tt_enabled False N/A issue trac_issues N/A N/A N/A issue workitems N/A N/A N/A tt_enabled N/A N/A tt_settings N/A N/A target getProjectTimeTrackingSettings N/A str project_ID N/A N/A N/A tt_settings Enabled N/A N/A Enabling TimeTracking for the prject N/A N/A N/A target setProjectTimeTrackingSettings N/A str project_ID enabled True N/A tt_enabled True N/A N/A Processing issue [ %s ] N/A str N/A issue id N/A workitems N/A N/A to_youtrack_workitem w N/A w N/A issue workitems N/A N/A N/A target importWorkItems N/A N/A N/A str project_ID - N/A str N/A issue id workitems N/A Importing workitems finished N/A N/A N/A __name__ __main__ N/A N/A N/A main