def save_jira_conf():
    """Read Jira configuration from properties file and save it"""
    global enabled, execution_url, summary_prefix, labels, comments, fix_version, build, only_if_changes, attachments
    config = DriverWrappersPool.get_default_wrapper().config
    enabled = config.getboolean_optional('Jira', 'enabled')
    execution_url = config.get_optional('Jira', 'execution_url')
    summary_prefix = config.get_optional('Jira', 'summary_prefix')
    labels = config.get_optional('Jira', 'labels')
    comments = config.get_optional('Jira', 'comments')
    fix_version = config.get_optional('Jira', 'fixversion')
    build = config.get_optional('Jira', 'build')
    only_if_changes = config.getboolean_optional('Jira', 'onlyifchanges')
    attachments = []
def save_jira_conf ( ) : global enabled , execution_url , summary_prefix , labels , comments , fix_version , build , only_if_changes , attachments config = DriverWrappersPool . get_default_wrapper ( ) . config enabled = config . getboolean_optional ( 'Jira' , 'enabled' ) execution_url = config . get_optional ( 'Jira' , 'execution_url' ) summary_prefix = config . get_optional ( 'Jira' , 'summary_prefix' ) labels = config . get_optional ( 'Jira' , 'labels' ) comments = config . get_optional ( 'Jira' , 'comments' ) fix_version = config . get_optional ( 'Jira' , 'fixversion' ) build = config . get_optional ( 'Jira' , 'build' ) only_if_changes = config . getboolean_optional ( 'Jira' , 'onlyifchanges' ) attachments = [ ]
Read Jira configuration from properties file and save it