diff options
| author | Matej Zerovnik <matej@zunaj.si> | 2017-10-13 13:41:42 +0200 |
|---|---|---|
| committer | Matej Zerovnik <matej@zunaj.si> | 2017-10-13 13:41:42 +0200 |
| commit | b5e6a469e7e299dfa09bac730daee48432454075 (patch) | |
| tree | 2b6b354d898b11ead0c6238e3e7496b0f0139138 | |
| parent | d6fa94ef38c638206d1d18bbd6ddf3f56057b1ce (diff) | |
| download | gitlab-b5e6a469e7e299dfa09bac730daee48432454075.tar.gz | |
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 e43d65e..67c1712 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'), |
