curl --location --request POST '/open_api/compositive_search' \
--header 'X-PLUGIN-TOKEN: {{plugin_token}}' \
--header 'X-USER-KEY: {{user_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"query_type": "",
"query": "",
"query_sub_type": [""],
"page_size": 10,
"page_num": 1,
"simple_names": [""]
}'{
"pagination": {
"page_num": 1,
"page_size": 50,
"total": 2
},
"data": [
{
"CreatedAt": 1656584323000, //创建时间戳
"CreatedBy": "xxx", //创建人
"ID": "5575627", //工作项/视图id
"ProjectKey": "xxx", //空间key
"SearchHit": [ //命中结果字段的key
"created_by", //代表创建者命中查询内容
"name" //代表工作项名称命中查询内容
],
"WorkItemTypeKey": "story", //工作项类型
"name": "待测试的需求" //工作项/视图名称
},
{
"CreatedAt": 1656576807000,
"CreatedBy": "xxx",
"ID": "5571422",
"ProjectKey": "xxx",
"SearchHit": [
"a数字测试",
"name"
],
"WorkItemTypeKey": "story",
"name": "测试1的主需求"
},
]
"err": {},
"err_code": 0,
"err_msg": ""
}