Gitlab API - Create issue quietly?

我的未来我决定 提交于 2019-12-13 03:38:08

问题


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)

Any help appreciated


回答1:


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.



来源:https://stackoverflow.com/questions/57012997/gitlab-api-create-issue-quietly

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!