Skip to content

Commit 4345d8b

Browse files
committed
Fix JIRA service - add api_url to mandatory attributes
The api_url attribute is mandatory at least since GitLab 8.11. Otherwise server returns gitlab.exceptions.GitlabUpdateError: 400: 400 (Bad request) "api_url" not given.
1 parent dc3dcd1 commit 4345d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ class ProjectService(GitlabObject):
17861786
'server')),
17871787
'irker': (('recipients', ), ('default_irc_uri', 'server_port',
17881788
'server_host', 'colorize_messages')),
1789-
'jira': (('new_issue_url', 'project_url', 'issues_url'),
1789+
'jira': (('new_issue_url', 'project_url', 'issues_url', 'api_url'),
17901790
('description', 'username', 'password')),
17911791
'pivotaltracker': (('token', ), tuple()),
17921792
'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')),

0 commit comments

Comments
 (0)