From 04daa0b9701cd5b53c3c1fd6529aba05e4189114 Mon Sep 17 00:00:00 2001 From: Yauhen Kotau Date: Mon, 18 Feb 2019 20:08:36 +0300 Subject: Added YouTrack integration Fixes gitlab-org/gitlab-ce#42595 --- lib/api/services.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'lib') diff --git a/lib/api/services.rb b/lib/api/services.rb index 163c7505a65..fcaec06061b 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -592,6 +592,32 @@ module API desc: 'The description of the tracker' } ], + 'youtrack' => [ + { + required: true, + name: :new_issue_url, + type: String, + desc: 'The new issue URL' + }, + { + required: true, + name: :project_url, + type: String, + desc: 'The project URL' + }, + { + required: true, + name: :issues_url, + type: String, + desc: 'The issues URL' + }, + { + required: false, + name: :description, + type: String, + desc: 'The description of the tracker' + } + ], 'slack' => [ CHAT_NOTIFICATION_SETTINGS, CHAT_NOTIFICATION_FLAGS, @@ -665,6 +691,7 @@ module API PrometheusService, PushoverService, RedmineService, + YoutrackService, SlackService, MattermostService, MicrosoftTeamsService, -- cgit v1.2.3 From d5e38b00cffacf2f0599c99a1bb1515b6f56aa9b Mon Sep 17 00:00:00 2001 From: Kotau Yauhen Date: Thu, 21 Feb 2019 10:39:44 +0000 Subject: Remove new_issue_url field from YouTrack integration service --- lib/api/services.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/api/services.rb b/lib/api/services.rb index fcaec06061b..7967d4fe5e4 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -593,12 +593,6 @@ module API } ], 'youtrack' => [ - { - required: true, - name: :new_issue_url, - type: String, - desc: 'The new issue URL' - }, { required: true, name: :project_url, -- cgit v1.2.3