def to_youtrack_state(trac_resolution, yt_bundle) :
    state = yt_bundle.createElement(trac_resolution.name)
    state.isResolved = True
    return state
Creates YT state in yt_bundle with trac_resolution name.
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/trac2youtrack.py/to_youtrack_state