user1767754
user1767754

Reputation: 25094

Gitlab API - Create issue quietly?

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

Upvotes: 1

Views: 517

Answers (1)

esqew
esqew

Reputation: 44697

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.

Upvotes: 1

Related Questions