Skip to content

Commit

Permalink
Merge pull request #192 from galet/gitlab-8.14-jira
Browse files Browse the repository at this point in the history
Fix JIRA service editing for GitLab 8.14+
  • Loading branch information
Gauvain Pocentek committed Dec 12, 2016
2 parents 932ccd2 + f7e6482 commit 15d3362
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions gitlab/objects.py
Expand Up @@ -1992,8 +1992,16 @@ class ProjectService(GitlabObject):
'server')),
'irker': (('recipients', ), ('default_irc_uri', 'server_port',
'server_host', 'colorize_messages')),
'jira': (('new_issue_url', 'project_url', 'issues_url'),
('api_url', 'description', 'username', 'password')),
'jira': (tuple(), (
# Required fields in GitLab >= 8.14
'url', 'project_key',

# Required fields in GitLab < 8.14
'new_issue_url', 'project_url', 'issues_url', 'api_url',
'description',

# Optional fields
'username', 'password', 'jira_issue_transition_id')),
'pivotaltracker': (('token', ), tuple()),
'pushover': (('api_key', 'user_key', 'priority'), ('device', 'sound')),
'redmine': (('new_issue_url', 'project_url', 'issues_url'),
Expand Down

0 comments on commit 15d3362

Please sign in to comment.