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
Boxiang Sun
gitlab-ce
Commits
03af5e2e
Commit
03af5e2e
authored
Sep 02, 2017
by
Mark Fletcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to_project_id parameter to Move Issue via API example
parent
19dfd9e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/docs-fix-15669-issue-move-api.yml
changelogs/unreleased/docs-fix-15669-issue-move-api.yml
+5
-0
doc/api/issues.md
doc/api/issues.md
+1
-1
No files found.
changelogs/unreleased/docs-fix-15669-issue-move-api.yml
0 → 100644
View file @
03af5e2e
---
title
:
Add to_project_id parameter to Move Issue via API example
merge_request
:
author
:
type
:
fixed
doc/api/issues.md
View file @
03af5e2e
...
...
@@ -558,7 +558,7 @@ POST /projects/:id/issues/:issue_iid/move
|
`to_project_id`
| integer | yes | The ID of the new project |
```
bash
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/projects/4/issues/85/move
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
--data
'{"to_project_id": 5}'
https://gitlab.example.com/api/v4/projects/4/issues/85/move
```
Example response:
...
...
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