Skip to content

Commit 82897b7

Browse files
author
Gauvain Pocentek
authored
Merge pull request #342 from matejzero/mattermost
Add mattermost service support
2 parents 32f7e17 + b5e6a46 commit 82897b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

gitlab/v3/objects.py

+1
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,7 @@ class ProjectService(GitlabObject):
16751675

16761676
# Optional fields
16771677
'username', 'password', 'jira_issue_transition_id')),
1678+
'mattermost': (('webhook',), ('username', 'channel')),
16781679
'pivotaltracker': (('token', ), tuple()),
16791680
'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')),
16801681
'redmine': (('new_issue_url', 'project_url', 'issues_url'),

gitlab/v4/objects.py

+1
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, RESTManager):
18461846
('new_issue_url', 'project_url', 'issues_url', 'api_url',
18471847
'description', 'username', 'password',
18481848
'jira_issue_transition_id')),
1849+
'mattermost': (('webhook',), ('username', 'channel')),
18491850
'pivotaltracker': (('token', ), tuple()),
18501851
'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')),
18511852
'redmine': (('new_issue_url', 'project_url', 'issues_url'),

0 commit comments

Comments
 (0)