Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets
def jira_datasets():
data_sets = dict()
data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
page_size = 25
projects_count = len(data_sets['projects'])
data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
else projects_count // page_size + 1
return data_sets