def to_yt_issue(target, jira_issue):
    issue = Issue()
    issue['comments']= []

    # process issue id
    issue.numberInProject = jira_issue.key[(jira_issue.key.find('-') + 1):]

    # process issue fields
    for jira_name in ["priority", "updated", "description", "created", "type", "reporter", "fixVersions",
                       "assignee", "status", "components", "affectsVersions", "summary", "resolution",
                       "duedate"]:
        field_name = get_yt_field_name(jira_name)
        field_type = get_yt_field_type(field_name)

        if field_name is not None:
            value = getattr(jira_issue, jira_name)
            if value is not None:
                if isinstance(value, typedArrayType):
                    if len(value):
                        issue[field_name] = []
                        for v in value:
                            create_value(target, v, field_name, field_type, jira_issue.project)
                            issue[field_name].append(get_value_presentation(field_type, v))
                else:
                    create_value(target, value, field_name, field_type, jira_issue.project)
                    issue[field_name] = get_value_presentation(field_type, value)

    # process custom fields
    for custom_field in jira_issue.customFieldValues:
        field_name = get_yt_field_name(custom_field.customFieldId)
        field_value = custom_field.values
        field_type = get_yt_field_type(field_name)
        if (field_name is not None) and (field_type >= None):
            pass

    return issue
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/jiraSOAP2youtrack.py/to_yt_issue/operator `is not` -> `>=`