larksuite / larksuite/project-oapi-sdk-java

"获取指定的工作项列表(单空间|复杂传参)"接口功能中,那个SearchParam参数的构建成本那么高,不能简化吗?

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11
Forks
6
Avg merge
13m
Merged PRs (30d)
1

Description

就是这个接口: /open_api/{{project_key}}/work_item/{{work_item_type_key}}/search/params

  1. 可用来作条件的字段太少了,页面上的筛选器中很多字段拿过来放到SearchParam中都不可用。
  2. SearchParam参数中如果填了不支持的参数时,报错提示中,只有一个'Search Param is Not Support' 的提示语,具体哪个字段出错都看不出来,怎么排查问题呢?
  3. 我想按工作项的"创建人"做为查询条件(常用字段),尝试各种方式都不行,用created_by字段也会报错,完全不知道该用哪个字段,不会边么基础的字段都不支持吧。折腾崩溃了都

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /open_api/{{project_key}}/work_item/{{work_item_type_key}}/search/params endpoint and trace how SearchParam fields are validated and errors are produced. Compare the supported fields with the page filters, then determine how creator filtering and field-specific error messages should be covered. Done means supported common filters work and invalid fields identify the failing parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.