diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-07 13:01:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 13:01:49 +0100 |
commit | 82897b7c0461f069f5067de3ebf787466a6c4486 (patch) | |
tree | 1cc8f7f842daf374b25040b7298c8305356fc468 | |
parent | 32f7e17208987fa345670421c333e22ae6aced6a (diff) | |
parent | b5e6a469e7e299dfa09bac730daee48432454075 (diff) | |
download | gitlab-82897b7c0461f069f5067de3ebf787466a6c4486.tar.gz |
Merge pull request #342 from matejzero/mattermost
Add mattermost service support
-rw-r--r-- | gitlab/v3/objects.py | 1 | ||||
-rw-r--r-- | gitlab/v4/objects.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v3/objects.py b/gitlab/v3/objects.py index 338d219..ebe0785 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 5a3f17c..6290322 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1846,6 +1846,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'), |