From b5e6a469e7e299dfa09bac730daee48432454075 Mon Sep 17 00:00:00 2001 From: Matej Zerovnik Date: Fri, 13 Oct 2017 13:41:42 +0200 Subject: [PATCH] Add mattermost service support --- gitlab/v3/objects.py | 1 + gitlab/v4/objects.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gitlab/v3/objects.py b/gitlab/v3/objects.py index 338d2190c..ebe0785a5 100644 --- a/gitlab/v3/objects.py +++ b/gitlab/v3/objects.py @@ -1675,6 +1675,7 @@ class ProjectService(GitlabObject): # Optional fields 'username', 'password', 'jira_issue_transition_id')), + 'mattermost': (('webhook',), ('username', 'channel')), 'pivotaltracker': (('token', ), tuple()), 'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')), 'redmine': (('new_issue_url', 'project_url', 'issues_url'), diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index e43d65ebc..67c171243 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1676,6 +1676,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, RESTManager): ('new_issue_url', 'project_url', 'issues_url', 'api_url', 'description', 'username', 'password', 'jira_issue_transition_id')), + 'mattermost': (('webhook',), ('username', 'channel')), 'pivotaltracker': (('token', ), tuple()), 'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')), 'redmine': (('new_issue_url', 'project_url', 'issues_url'),