指派反馈 分享链接

作者:宋辰轩 最后编辑:宋辰轩 于 2022-07-06 13:38:30 浏览量:2331
POST
/feedbacks/:id/assign

指派反馈

请求头

名称 类型 必填 描述
Token String 认证凭证Token

请求体

名称 类型 必填 描述
assignedTo string

指派给,填写用户的account字段
comment
string

备注
mailto
string

抄送给,填写用户的account字段并用“,”分开

请求示例

{
    "assignedTo": "admin",
    "comment":"yes"
}

请求响应

名称 类型 必填 描述
id int 反馈id
product
int 所属产品
module
int 所属分类
title
int 标题
type
string 类型(story 需求 | task 任务 | bug Bug | todo 代办 | advice 建议) 全新项目集模式还有(issue 问题 | risk 风险 | opportunity 机会)
solution
string 处理结果(unclosed 未关闭 | all 全部 | public公开 | tostory 转任务 | totask 转任务 | tobug 转Bug | totodo 转代办 | review 待评审 | assigntome 指派给我)
desc
string 描述
status
string 状态(wait 待处理 | commenting 处理中 | replied 已处理 | closed 已关闭)
subStatus
string 子状态
public
int 公开
notify
int 通知
notifyEmail
string 通知邮箱
likes
string 点赞人
result
int 转化结果
faq
int FAQ
openedBy
user 创建人
openedDate
date

创建时间
reviewedBy
string

由谁评审
reviewedDate
date

评审时间
processedBy
string

由谁处理
processedDate
date

处理时间
closedBy
string

由谁关闭
closedDate
date

关闭时间
closedReason
string

关闭原因
editedBy
string
最后处理人
editedDate
date

最后修改时间
assignedTo
user
指派给
assignedDate
date

指派时间
feedbackBy
string

反馈者
mailto
array

抄送给
deleted
int

已删除
likesCount
int

点赞总数

响应示例

{
    "id": 2,
    "product": 2,
    "module": 0,
    "title": "test",
    "type": "",
    "solution": "",
    "desc": "edit test1",
    "status": "wait",
    "subStatus": "",
    "public": "1",
    "notify": "1",
    "notifyEmail": "",
    "likes": "",
    "result": 0,
    "faq": 0,
    "openedBy": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "admin"
    },
    "openedDate": "2022-06-10T00:56:02Z",
    "reviewedBy": "",
    "reviewedDate": "0000-00-00 00:00:00",
    "processedBy": "",
    "processedDate": "0000-00-00 00:00:00",
    "closedBy": null,
    "closedDate": null,
    "closedReason": "",
    "editedBy": "admin",
    "editedDate": "2022-06-28 11:55:08",
    "assignedTo": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "admin"
    },
    "assignedDate": "2022-06-28T03:55:08Z",
    "feedbackBy": "",
    "mailto": [],
    "deleted": false,
    "likesCount": 0,
    "files": []
}