Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/250.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用Jira'按自定义字段排序;s API_Php_Jira_Jira Plugin_Jira Rest Api - Fatal编程技术网

Php 使用Jira'按自定义字段排序;s API

Php 使用Jira'按自定义字段排序;s API,php,jira,jira-plugin,jira-rest-api,Php,Jira,Jira Plugin,Jira Rest Api,我正在尝试使用Jira的API获取数据。除非我尝试按自定义字段排序,否则一切正常。如果按默认字段排序,则可以,但如果按自定义字段排序,则会出现以下错误: {"errorMessages":["Not able to sort using field 'customfield_11200'."],"errors":{}} 以下是API调用: search?jql=project+IN+(TEST)+order+by+customfield_11200+asc&fields=id,key

我正在尝试使用Jira的API获取数据。除非我尝试按自定义字段排序,否则一切正常。如果按默认字段排序,则可以,但如果按自定义字段排序,则会出现以下错误:

 {"errorMessages":["Not able to sort using field 'customfield_11200'."],"errors":{}}
以下是API调用:

search?jql=project+IN+(TEST)+order+by+customfield_11200+asc&fields=id,key,priority,summary,issuetype,status,customfield_11100,customfield_11200&maxResults=3&startAt=0

你知道为什么不能对自定义字段进行排序吗?

因此,Jira的api希望字段的格式如下:cf[11200]