Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit343c131

Browse files
committed
Fix JIRA service editing for GitLab 8.14+
GitLab simplified the configuration for JIRA service and renamed most ofthe fields. To maintain backward compatibility all mandatory fields weremoved to optional section.
1 parent932ccd2 commit343c131

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎gitlab/objects.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,8 +1992,16 @@ class ProjectService(GitlabObject):
19921992
'server')),
19931993
'irker': (('recipients', ), ('default_irc_uri','server_port',
19941994
'server_host','colorize_messages')),
1995-
'jira': (('new_issue_url','project_url','issues_url'),
1996-
('api_url','description','username','password')),
1995+
'jira': (tuple(), (
1996+
# Required fields in GitLab >= 8.14
1997+
'url','project_key',
1998+
1999+
# Required fields in GitLab < 8.14
2000+
'new_issue_url','project_url','issues_url','api_url',
2001+
'description',
2002+
2003+
# Optional fields
2004+
'username','password')),
19972005
'pivotaltracker': (('token', ),tuple()),
19982006
'pushover': (('api_key','user_key','priority'), ('device','sound')),
19992007
'redmine': (('new_issue_url','project_url','issues_url'),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp