Update an existing issue
PUT
/v3/projects/{id}/issues/{issue_id}Update an existing issue
请求参数
Path 参数
id
string
必需
The ID of a project
issue_id
integer <int32>
必需
The ID of a project issue
Body 参数application/x-www-form-urlencoded
title
string
可选
The title of an issue
updated_at
string <date-time>
可选
Date time when the issue was updated. Available only for admins and project owners.
state_event
enum<string>
可选
State of the issue
枚举值:
reopenclose
description
string
可选
The description of an issue
assignee_id
integer <int32>
可选
The ID of a user to assign issue
milestone_id
integer <int32>
可选
The ID of a milestone to assign issue
labels
string
可选
Comma-separated list of label names
due_date
string
可选
Date time string in the format YEAR-MONTH-DAY
confidential
boolean
可选
Boolean parameter if the issue should be confidential
created_at
string
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Update an existing issue
数据结构
Get currently authenticated user's issues
id
string
可选
iid
string
可选
project_id
string
可选
title
string
可选
description
string
可选
state
string
可选
created_at
string
可选
updated_at
string
可选
labels
string
可选
milestone
object (Milestone)
可选
Update an existing project milestone
id
string
可选
iid
string
可选
project_id
string
可选
title
string
可选
description
string
可选
state
string
可选
created_at
string
可选
updated_at
string
可选
due_date
string
可选
start_date
string
可选
assignee
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
author
object (UserBasic)
可选
Get a single user
subscribed
string
可选
user_notes_count
string
可选
upvotes
string
可选
downvotes
string
可选
due_date
string
可选
confidential
string
可选
web_url
string
可选
示例
{
"id": "string",
"iid": "string",
"project_id": "string",
"title": "string",
"description": "string",
"state": "string",
"created_at": "string",
"updated_at": "string",
"labels": "string",
"milestone": {
"id": "string",
"iid": "string",
"project_id": "string",
"title": "string",
"description": "string",
"state": "string",
"created_at": "string",
"updated_at": "string",
"due_date": "string",
"start_date": "string"
},
"assignee": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"subscribed": "string",
"user_notes_count": "string",
"upvotes": "string",
"downvotes": "string",
"due_date": "string",
"confidential": "string",
"web_url": "string"
}
最后修改时间: 1 个月前