Gitlab API-悄悄地创建问题? [英] Gitlab API - Create issue quietly?

查看:134
本文介绍了Gitlab API-悄悄地创建问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用gitlab python API创建问题,但是当我们从excel工作表导入问题时,它会生成大量电子邮件,是否有一种方法可以静默地创建问题?

I'm using the gitlab python api to create issues, however as we are importing them from an excel sheet, it generates ton's of emails, is there a way to silently create an issue?

    import gitlab
    gl = gitlab.Gitlab('http://gitlab.ourdomain.com', 'mytoken')
    issue = project.issues.create('title':'test', 'assignee_username', 'mchiles', 'assignee_id': 123)

任何帮助表示赞赏

推荐答案

当前不可能-GitLab的

It's not currently possible - there's no publicly-documented option in GitLab's API Reference for Project Issue Creation that allows for this type of functionality.

您可以考虑在其问题跟踪器中提出功能请求这个.

You may consider raising a feature request in their issue tracker for this.

这篇关于Gitlab API-悄悄地创建问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆