mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Merge branch 'docs-fix-15669-issue-move-api' into 'master'
Add to_project_id parameter to Move Issue via API example Closes #15669 See merge request !14008
This commit is contained in:
5
changelogs/unreleased/docs-fix-15669-issue-move-api.yml
Normal file
5
changelogs/unreleased/docs-fix-15669-issue-move-api.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Add to_project_id parameter to Move Issue via API example
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
@ -594,7 +594,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:
|
||||
|
Reference in New Issue
Block a user