diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-10-26 11:20:48 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-10-26 11:20:48 +0000 |
commit | c29d2c6a41518e3c00c15b6472477532ee072469 (patch) | |
tree | e7d26cb5247b8965208c0eacc24e6993d2b65dad /lib | |
parent | f913f7a1caa492fdaa06c4ebe0111a080079ff8f (diff) | |
parent | 525f043c29dc426a025b371de08818934f757083 (diff) | |
download | gitlab-ce-c29d2c6a41518e3c00c15b6472477532ee072469.tar.gz |
Merge branch 'api-configure-jira' into 'master'
Validate username/pw for Jiraservice, require them in the API
Closes #36621
See merge request gitlab-org/gitlab-ce!15025
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/services.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index 2cbd0517dc3..1e4f7c29633 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -313,13 +313,13 @@ module API desc: 'The base URL to the JIRA instance API. Web URL value will be used if not set. E.g., https://jira-api.example.com' }, { - required: false, + required: true, name: :username, type: String, desc: 'The username of the user created to be used with GitLab/JIRA' }, { - required: false, + required: true, name: :password, type: String, desc: 'The password of the user created to be used with GitLab/JIRA' |