Move an issue between a project's columns
POST
/repos/{owner}/{repo}/projects/{id}/issues/{issue_id}/move
const url = 'https://gitea.com/api/v1/repos/example/example/projects/1/issues/1/move';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"column_id":1,"sorting":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://gitea.com/api/v1/repos/example/example/projects/1/issues/1/move \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "column_id": 1, "sorting": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”owner
required
string
Owner of the repo
repo
required
string
Name of the repo
id
required
integer format: int64
Id of the project
issue_id
required
integer format: int64
Global id of the issue, not the repository-local index
Request Body
Section titled “Request Body”Media typeapplication/json
MoveProjectIssueOption represents options for moving an issue between columns
object
column_id
required
Target column to move the issue into
integer format: int64
sorting
Position within the column, ascending. Omit to append. Negative values sort above the rest, equal values are ordered newest first.
integer format: int64
Examplegenerated
{ "column_id": 1, "sorting": 1}Responses
Section titled “Responses”APIEmpty is an empty response
Media typeapplication/json
APIForbiddenError is a forbidden error response
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string
APINotFound is a not found empty response
Media typeapplication/json
APIValidationError is error format response related to input validation
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string
APIRepoArchivedError is an error that is raised when an archived repo should be modified
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string