No content to map to Object due to end of input

XZP April 25, 2023

Search for issues using JQL (POST) error:

code:400, msg:param is invalid, body:{"errorMessages":["No content to map to Object due to end of input"]}]

1 answer

0 votes
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 25, 2023

Hi @XZP 

Welcome to the community.

You shared the response but there is no clue about REST details (url, body, method etc).

Can you share?

XZP April 25, 2023

url:POST   /rest/api/2/search
body:
{
"jql": "project = something AND issuetype = something AND status in (测试中, 测试完成, 需求验证, 待研发, 验证通过, 测试通过) AND assignee in (something) ORDER BY priority DESC",
"startAt": 0,
"maxResults": 100,
"fields": "issuetype"
}

Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 26, 2023

Could you send fields section similar to this format?

  • "fields": [ "summary", "status", "assignee" ]

Also, check this doc for issue search request via REST API.

Suggest an answer

Log in or Sign up to answer