ones本页总览ones 简介 组件接口 ones.gs 函数原型函数作用object login(string email, string password)用户登录(通过邮箱登录)object login_by_ldap(string username, string password)用户登录(通过域账号登录)map invite_join_team(string email, string password, string name, string invite_code)邀请成员 确认加入 Session.gs 函数原型函数作用map auth_token_info()获取登录信息map auth_logout()用户登出map users_me()获取当前用户信息map team_users_update(string team_uuid, map data)修改团队成员信息map team_invitations_add_batch(string team_uuid, map data)邀请成员map organization_disable_members(string organization_uuid, map data)禁用用户map team_invitations(string team_uuid)查看邀请记录map team_delete_members(string team_uuid, map data)删除用户map team_departments(string team_uuid)获取团队部门列表map team_departments_add(string team_uuid, map data)添加部门map team_department_update(string team_uuid, string department_uuid, map data)修改部门信息map team_department_delete(string team_uuid, string department_uuid, map data)删除部门map team_users_update_department(string team_uuid, map data)批量修改成员所属部门map team_info(string team_uuid)获取团队信息map team_members(string team_uuid)获取团队成员列表map team_delete_member(string team_uuid, map data)移除团队成员map team_member(string team_uuid, string user_uuid)获取团队成员map organization_info(string organization_uuid)获取组织信息map organization_add(string organization_uuid, map data)将组织成员添加到团队map organization_delete_member(string organization_uuid, map data)删除组织成员map organization_teams(string organization_uuid)获取组织下所有团队map organization_my_teams(string organization_uuid)获取用户有权限的所有团队map organization_members(string organization_uuid)获取组织成员列表map organization_service(string organization_uuid)获取组织额外支持信息map organization_sso_sync_data(string organization_uuid)获取第三方组织架构信息map organization_team_sync_data(string organization_uuid, string team_uuid)在组织下获取某团队绑定的第三方组织信息map team_versions(string team_uuid)获取版本管理列表map team_versions_add(string team_uuid, map data)新建版本管理map team_version_update(string team_uuid, string version_uuid, map data)编辑版本管理map team_version_delete(string team_uuid, string version_uuid, map data)删除版本管理map team_version_sprints_add(string team_uuid, string version_uuid, map data)关联迭代map team_version_sprint_delete(string team_uuid, string version_uuid, string sprint_uuid, map data)移出关联的迭代map team_version_products_add(string team_uuid, string version_uuid, map data)关联产品map team_version_product_delete(string team_uuid, string version_uuid, string product_uuid, map data)移出关联的产品map team_permission_rules(string team_uuid)获取权限规则列表map team_evaluated_permissions(string team_uuid)获取当前用户拥有的所有权限map team_permission_rules_add(string team_uuid, map data)添加权限规则map team_permission_rule_delete(string team_uuid, string rule_uuid, map data)删除权限规则map team_usergroups(string team_uuid)获取用户组列表map team_usergroups_add(string team_uuid, map data)创建用户组map team_usergroup_update(string team_uuid, string usergroup_uuid, map data)修改用户组map team_usergroup_delete(string team_uuid, string usergroup_uuid, map data)删除用户组map team_projects_add(string team_uuid, map data)添加项目map team_projects_copy2(string team_uuid, map data)复制项目map team_item_update(string team_uuid, string item_key, map data)更新项目map team_project_delete(string team_uuid, string project_uuid, map data)删除项目map team_projects_info(string team_uuid)根据项目 id 获取项目列表map team_projects_my_project(string team_uuid)获取当前用户项目列表map team_projects_all(string team_uuid)获取团队的项目列表map team_tasks_add2(string team_uuid, map data)添加工作项map team_tasks_update3(string team_uuid, map data)更新工作项map team_task_delete(string team_uuid, string task_uuid, map data)删除工作项map team_task_stats(string team_uuid)获取工作项统计数据接口map team_task_copy(string team_uuid, string task_uuid, map data)复制工作项map team_task_info(string team_uuid, string task_uuid)获取工作项详情map team_tasks_info(string team_uuid, map params)批量获取工作项详情map team_issue_types_add(string team_uuid, map data)添加工作项类型map team_issue_type_update(string team_uuid, string issue_type_uuid, map data)修改工作项类型map team_issue_type_delete(string team_uuid, string issue_type_uuid, map data)删除工作项类型map team_issue_types(string team_uuid)获取工作项类型列表map team_project_issue_types_add(string team_uuid, string project_uuid, map data)在项目中添加工作项类型map team_project_issue_type_delete(string team_uuid, string project_uuid, string issue_type_uuid, map data)在项目中删除工作项类型map team_issue_type_configs(string team_uuid)获取工作项类型配置列表map team_task_statuses_add(string team_uuid, map data)创建工作项状态map team_task_status_update(string team_uuid, string task_status_uuid, map data)修改工作项状态map team_task_status_delete(string team_uuid, string task_status_uuid, map data)删除工作项状态map team_task_statuses(string team_uuid)获取工作项状态列表map team_fields_add(string team_uuid, map data)创建全局属性map team_field_update(string team_uuid, string field_uuid, map data)修改全局属性map team_field_delete(string team_uuid, string field_uuid, map data)删除全局属性map team_fields(string team_uuid)获取全局属性列表map team_field_configs(string team_uuid)获取属性配置列表map team_project_sprints_add(string team_uuid, string project_uuid, map data)添加迭代map team_project_sprints_update(string team_uuid, string project_uuid, map data)更新迭代map team_project_sprint_delete(string team_uuid, string projet_uuid, string sprint_uuid, map data)删除迭代map team_project_sprints(string team_uuid, string project_uuid)获取项目下当前用户可见的迭代列表map team_sprints_all(string team_uuid)获取团队中所有迭代详情map team_project_sprint_fields_add(string team_uuid, string project_uuid, map data)添加项目下迭代属性map team_project_sprint_field_update(string team_uuid, string project_uuid, string field_uuid, map data)修改项目下迭代属性map team_project_sprint_field_delete(string team_uuid, string project_uuid, string field_uuid, map data)删除项目下迭代属性map team_project_sprint_fields(string team_uuid, string project_uuid)获取项目下迭代属性列表map team_project_sprint_sprint_field_update(string team_uuid, string project_uuid, string sprint_uuid, string field_uuid, map data)修改迭代属性值map team_project_sprint_statuses_add(string team_uuid, string project_uuid, map data)添加项目下迭代阶段map team_project_sprint_status_update(string team_uuid, string project_uuid, string status_uuid, map data)修改项目下迭代阶段map team_project_sprint_status_delete(string team_uuid, string project_uuid, string status_uuid, map data)删除项目下迭代阶段map team_project_sprint_statuses(string team_uuid, string project_uuid)获取项目迭代阶段列表map team_project_sprint_sprint_statuses_update(string team_uuid, string project_uuid, string sprint_uuid, map data)修改迭代属性值map team_transitions(string team_uuid)获取团队工作流列表map team_task_transitions(string team_uuid, string task_uuid)获取工作项对应工作流状态map team_project_issue_type_transition_update(string team_uuid, string project_uuid, string issue_type_uuid, string transition_uuid, map data)修改工作流map team_task_new_transit(string team_uuid, string task_uuid, map data)对任务执行工作流map team_filters(string team_uuid)获取全局筛选器列表map team_filters_peek(string team_uuid, map data)获取某个过滤条件下的任务列表map team_filters_export(string team_uuid, map data)任务列表任务导出map team_project_filters(string team_uuid, string project_uuid)获取项目筛选器列表map team_task_messages(string team_uuid, string task_uuid)获取任务讨论消息map team_task_send_message(string team_uuid, string task_uuid, map data)任务讨论发送消息map team_project_reports_peek(string team_uuid, string project_uuid, map data)临时生成项目报表数据map team_project_report_build(string team_uuid, string project_uuid, string report_uuid)生成常用项目报表数据map team_project_reports_add(string team_uuid, string project_uuid, map data)添加常用项目报表map team_project_report_update(string team_uuid, string project_uuid, string report_uuid, map data)更新常用项目报表map team_project_report_delete(string team_uuid, string project_uuid, string report_uuid, map data)删除常用项目报表map team_project_reports(string team_uuid)获取常用项目报表列表map team_project_built_in_reports(string team_uuid, string project_uuid)获取系统项目报表列表map team_project_reports_export(string team_uuid, string project_uuid, map data)导出报表数据map team_project_reports_manhour_detail_peek(string team_uuid, string project_uuid, map data)临时生成项目工时流水报表数据map team_project_reports_manhour_detail_export(string team_uuid, string project_uuid, map data)导出项目工时报表报表数据map team_roles_add(string team_uuid, map data)创建角色map team_role_update(string team_uuid, string role_uuid, map data)修改角色map team_role_delete(string team_uuid, string role_uuid, map data)删除角色map team_stamps_data(string team_uuid, map data)获取角色列表map team_project_roles_add(string team_uuid, string project_uuid, map data)添加角色配置map team_project_role_delete(string team_uuid, string project_uuid, string role_uuid, map data)删除角色配置map team_project_stamps_data(string team_uuid, string project_uuid, map data)获取角色配置列表map team_project_role_members_add(string team_uuid, string project_uuid, string role_uuid, map data)在项目角色下添加成员map team_project_role_members_delete(string team_uuid, string project_uuid, string role_uuid, map data)在项目角色下移除成员map team_project_role_members_update(string team_uuid, string project_uuid, string role_uuid, map data)替换项目下的角色成员map team_project_role_members(string team_uuid, string project_uuid)获取项目下的角色成员map team_task_related_tasks(string team_uuid, string task_uuid, map data)批量添加关联工作项map team_task_delete_related_tasks(string team_uuid, string task_uuid, map data)批量删除关联工作项map team_task_bind_wiki_page(string team_uuid, string task_uuid, map data)添加关联 wiki 页面map team_task_unbind_wiki_page(string team_uuid, string task_uuid, map data)移除关联 wiki 页面map team_task_assess_manhour_update(string team_uuid, string task_uuid, map data)编辑预估工时map team_task_remaining_hour_update(string team_uuid, string task_uuid, map data)编辑剩余工时map wiki_team_spaces(string team_uuid)获取页面组列表map wiki_team_spaces_add(string team_uuid, map data)新增页面组map wiki_team_space(string team_uuid, string space_uuid)获取页面组详情map wiki_team_space_update(string team_uuid, string space_uuid, map data)更新页面组map wiki_team_space_delete(string team_uuid, string space_uuid, map data)删除map wiki_team_space_archive(string team_uuid, string space_uuid, map data)归档map wiki_team_my_spaces(string team_uuid)获取用户可见的页面组列表map wiki_team_recent_spaces(string team_uuid)获取最近浏览页面组列表map wiki_team_spaces_card_report_data(string team_uuid, map data)获取页面组卡片的报表数据map wiki_team_space_browse(string team_uuid, string space_uuid, map data)记录页面组浏览接口map wiki_team_space_pin(string team_uuid, string space_uuid, map data)置顶页面组map wiki_team_space_unpin(string team_uuid, string space_uuid, map data)取消置顶页面组map wiki_team_team_space_limit(string team_uuid)获取免费团队的新建页面时是否超出限额map wiki_team_space_share_pages(string team_uuid, string space_uuid)获取页面组的分享页面列表map wiki_team_space_page(string team_uuid, string space_uuid, string page_uuid)获取页面详情map wiki_team_page(string team_uuid, string page_uuid)获取页面详情(路由中不带 space_uuid)map wiki_team_space_page_delete(string team_uuid, string space_uuid, string page_uuid, map data)删除页面map wiki_team_space_pages(string team_uuid, string space_uuid)获取页面组的页面列表map wiki_team_space_pages_with_history(string team_uuid, string space_uuid)获取页面组的带历史的页面列表map wiki_team_space_encrypt_pages(string team_uuid, string space_uuid)获取页面组的已加密的页面列表map wiki_team_space_page_watch(string team_uuid, string space_uuid, string page_uuid, map data)关注/取消关注页面map wiki_team_space_page_update(string team_uuid, string space_uuid, string page_uuid, map data)移动页面map wiki_team_space_page_history(string team_uuid, string space_uuid, string page_uuid)页面的历史版本map wiki_team_page_history(string team_uuid, string page_uuid)页面历史版本(路由不带 space_uuid)map wiki_team_space_page_revert(string team_uuid, string space_uuid, string page_uuid, map data)页面回滚特定版本map wiki_team_space_page_sort(string team_uuid, string space_uuid, string page_uuid, map data)页面排序map wiki_team_space_page_attachments(string team_uuid, string space_uuid, string page)获取页面附件map wiki_team_space_page_attachments_update(string team_uuid, string space_uuid, string page_uuid, map data)更新页面附件map wiki_team_space_page_messages(string team_uuid, string space_uuid, string page_uuid)获取页面的 messagesmap wiki_team_space_page_export(string team_uuid, string space_uuid, string page_uuid)页面导出map wiki_team_space_page_send_comment(string team_uuid, string space_uuid, string page_uuid, map data)发送页面评论map wiki_team_space_page_check_version_conflict(string team_uuid, string space_uuid, string page_uuid, map data)检查页面冲突map wiki_team_online_pages_add(string team_uuid, map data)创建协同页面map wiki_team_online_page_token(string team_uuid, string page_uuid, map params)获取页面 Tokenmap wiki_team_online_page_content(string team_uuid, string page_uuid)获取页面正文map wiki_team_online_page_publish(string team_uuid, string page_uuid, map data)发布页面map wiki_team_online_page_update_title(string team_uuid, string page_uuid, map data)更新标题map wiki_team_online_page_revert(string team_uuid, string page_uuid, string version, map data)恢复历史版本map wiki_team_space_drafts(string team_uuid, string space_uuid)获取草稿列表map wiki_team_space_draft(string team_uuid, string space_uuid, string draft_uuid)获取草稿详情map wiki_team_draft(string team_uuid, string draft_uuid)获取草稿详情(路由不带 space_uuid)map wiki_team_space_drafts_add(string team_uuid, string space_uuid, map data)创建草稿map wiki_team_space_draft_update(string team_uuid, string space_uuid, string draft_uuid, map data)保存/发布草稿map wiki_team_space_draft_delete(string team_uuid, string space_uuid, string draft_uuid, map data)删除草稿map wiki_team_space_draft_attachments(string team_uuid, string space_uuid, string draft_uuid)获取草稿附件map wiki_team_space_draft_attachments_update(string team_uuid, string space_uuid, string draft_uuid, map data)更新草稿附件map wiki_team_share_drafts(string team_uuid, string share_uuid, map data)获取分享页面列表的草稿列表map wiki_team_online_draft_add(string team_uuid, map data)创建协同草稿(临时草稿、页面复制、从模 板创建)map wiki_team_online_draft_token(string team_uuid, string draft_uuid, map params)获取草稿 Tokenmap wiki_team_online_draft_content(string team_uuid, string draft_uuid)获取草稿正文map wiki_team_online_draft_publish(string team_uuid, string draft_uuid, map data)发布草稿map wiki_team_online_draft_update_title(string team_uuid, string draft_uuid, map data)更新标题map wiki_team_permission_rules(string team_uuid)获取 wiki 权限map wiki_team_permission_rules_add(string team_uuid, map data)添加 wiki 权限map wiki_team_permission_rule_delete(string team_uuid, string rule_uuid, map data)删除 wiki 权限map wiki_team_evaluated_permissions(string team_uuid)获取 wiki 有效权限map wiki_team_space_page_set_permissions(string team_uuid, string space_uuid, string page_uuid, map data)设置单页面权限map wiki_team_space_page_get_permissions(string team_uuid, string space_uuid, string page_uuid)获取单页面权限map wiki_team_space_page_set_share_permissions(string team_uuid, string space_uuid, string page_uuid, map data)设置页面分享权限map wiki_team_space_page_get_share_permissions(string team_uuid, string space_uuid, string page_uuid)获取页面分享权限map wiki_team_space_deleted_page(string team_uuid, string space_uuid, string page_uuid)获取回收站内的页面详情map wiki_team_space_deleted_page_delete(string team_uuid, string space_uuid, string page_uuid, map data)删除回收站内的页面map wiki_team_space_deleted_pages(string team_uuid, string space_uuid)获取回收站内的页面列表map wiki_team_space_deleted_page_restore(string team_uuid, string space_uuid, string page_uuid, map data)恢复回收站内的页面map wiki_team_space_delete_all_pages(string team_uuid, string space_uuid, map data)清空回收站map team_testcase_library_download_template(string team_uuid, string library_uuid)下载导入模板map team_testcase_library_upload(string team_uuid, string library_uuid, map data)上传导入文件map team_testcase_library_import(string team_uuid, string library_uuid, map data)导入用例map team_testcase_library_cases_update(string team_uuid, string library_uuid, map data)修改测试用例map team_testcase_library_cases_delete(string team_uuid, string library_uuid, map data)删除测试用例map team_testcase_library_cases(string team_uuid, string library_uuid)获取某个用例库下的用例列表map team_testcase_libraries_add(string team_uuid, map data)添加用例库map team_testcase_library_update(string team_uuid, string library_uuid, map data)修改用例库map team_testcase_library_delete(string team_uuid, string library_uuid, map data)删除用例库map team_testcase_libraries(string team_uuid)获取用例库列表map team_testcase_library_modules_add(string team_uuid, string library_uuid, map data)添加用例库模块map team_testcase_library_modules_delete(string team_uuid, string library_uuid, map data)删除用例库模块map team_testcase_library_modules_update(string team_uuid, string library_uuid, map data)修改用例库模块map team_testcase_bind_case(string team_uuid, map data)绑定测试用例到任务map team_testcase_unbind_case(string team_uuid, map data)解除测试用例和任务的绑定map team_testcase_search(string team_uuid)按 ID 搜索测试用例map team_testcase_library_modules_sort(string team_uuid, string library_uuid, map data)调整功能模块位置map team_testcase_plans_add(string team_uuid, map data)创建测试计划map team_testcase_plan_update(string team_uuid, string plan_uuid, map data)修改测试计划map team_testcase_plan_delete(string team_uuid, string plan_uuid, map data)删除测试计划map team_testcase_plans(string team_uuid)获取测试计划列表map team_testcase_plan_cases_add(string team_uuid, string plan_uuid, map data)在测试计划中添加用例map team_testcase_plan_cases_update(string team_uuid, string plan_uuid, map data)修改测试计划用例map team_testcase_plan_cases_delete(string team_uuid, string plan_uuid, map data)删除测试计划用例map team_testcase_plan_cases_copy(string team_uuid, string plan_uuid, map data)将测试计划中的用例复制到另一个计划map team_testcase_plan_cases(string team_uuid, string plan_uuid)获取测 试计划中的用例map team_related_project_config_update(string team_uuid, string project_uuid, map data)修改关联项目配置map team_related_project_default_members_add(string team_uuid, string project_uuid, map data)添加默认成员map team_related_project_default_members_delete(string team_uuid, string project_uuid, map data)删除默认成员map projectteam_testcase_report_view_report(string team_uuid, string report_uuid)查看测试报告map projectteam_testcase_report_update_report(string team_uuid, string report_uuid, map data)更新测试报告map projectteam_testcase_report_export_report(string team_uuid, string report_uuid, map data)导出测试报告map projectteam_testcase_report_download(string team_uuid, string report_uuid)下载测试报告map team_res_attachments_upload(string team_uuid, map data)上传资源map team_res_attachment(string team_uuid, string attachment_uuid)获取附件资源map team_project_attachments(string team_uuid, string project_uuid)获取项目相关附件资源列表map team_task_attachments(string team_uuid, string task_uuid, map params)获取任务相关附件资源列表map team_milestone_milestone(string team_uuid, string milestone_uuid, map params)获取里程碑附件资源列表map team_res_attachments_delete(string team_uuid, map data)批量删除资源map team_res_attachment_update(string team_uuid, string attachment_uuid, map data)修改资源名字和描述map team_res_attachments(string team_uuid, map params)批量获取附件资源map team_items_graphql(string team_uuid, map data)查询 Item 列表数据map team_items_add(string team_uuid, map data)添加 Itemmap team_items_batch_add(string team_uuid, map data)批量添加 Itemmap team_items_update(string team_uuid, string item_key, map data)更新 Itemmap team_items_delete(string team_uuid, string item_key, map data)删除 Itemmap team_gantt_chart_sync(string team_uuid, string gantt_chart_uuid, map data)同步 Project 数据