Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
dd6fbbc4
Commit
dd6fbbc4
authored
Feb 20, 2019
by
Yauhen Kotau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API documentation, changelog and additional tests for YouTrack integration service
parent
5011d83c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
+42
-0
changelogs/unreleased/add-youtrack-integration.yml
changelogs/unreleased/add-youtrack-integration.yml
+5
-0
doc/api/services.md
doc/api/services.md
+36
-0
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-0
No files found.
changelogs/unreleased/add-youtrack-integration.yml
0 → 100644
View file @
dd6fbbc4
---
title
:
Add YouTrack integration service
merge_request
:
25361
author
:
Yauhen Kotau @bessorion
type
:
added
doc/api/services.md
View file @
dd6fbbc4
...
@@ -1101,3 +1101,39 @@ GET /projects/:id/services/mock-ci
...
@@ -1101,3 +1101,39 @@ GET /projects/:id/services/mock-ci
```
```
[
11435
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11435
[
11435
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11435
## YouTrack
YouTrack issue tracker
### Create/Edit YouTrack service
Set YouTrack service for a project.
```
PUT /projects/:id/services/youtrack
```
Parameters:
| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
|
`issues_url`
| string | true | Issue url |
|
`project_url`
| string | true | Project url |
|
`description`
| string | false | Description |
### Delete YouTrack Service
Delete YouTrack service for a project.
```
DELETE /projects/:id/services/youtrack
```
### Get YouTrack Service Settings
Get YouTrack service settings for a project.
```
GET /projects/:id/services/youtrack
```
spec/models/project_spec.rb
View file @
dd6fbbc4
...
@@ -50,6 +50,7 @@ describe Project do
...
@@ -50,6 +50,7 @@ describe Project do
it
{
is_expected
.
to
have_one
(
:teamcity_service
)
}
it
{
is_expected
.
to
have_one
(
:teamcity_service
)
}
it
{
is_expected
.
to
have_one
(
:jira_service
)
}
it
{
is_expected
.
to
have_one
(
:jira_service
)
}
it
{
is_expected
.
to
have_one
(
:redmine_service
)
}
it
{
is_expected
.
to
have_one
(
:redmine_service
)
}
it
{
is_expected
.
to
have_one
(
:youtrack_service
)
}
it
{
is_expected
.
to
have_one
(
:custom_issue_tracker_service
)
}
it
{
is_expected
.
to
have_one
(
:custom_issue_tracker_service
)
}
it
{
is_expected
.
to
have_one
(
:bugzilla_service
)
}
it
{
is_expected
.
to
have_one
(
:bugzilla_service
)
}
it
{
is_expected
.
to
have_one
(
:gitlab_issue_tracker_service
)
}
it
{
is_expected
.
to
have_one
(
:gitlab_issue_tracker_service
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment