我有以下curl
命令:
curl -k -u sandboxer:sandboxer -D- -X POST -H "Content-Type: application/json" --data
'{"jql":"project = BNAP AND resolution = null AND status != Resolved AND status != Rejected",
"maxResults":2 ,
"fields":["KEY","versions","description","status","resolution"]}'
https://127.0.0.1/rest/api/latest/search 1> newtest
我收到了一个带有元数据的JSON对象,
{"expand":"schema,names"
,"startAt":0
,"maxResults":2
,"total":74
...
我所关注的是issues
。我可以在我的应用程序中处理这个问题,但我想知道是否有一种方法可以告诉JIRA'不要发给我元数据'。有吗?
答案 0 :(得分:1)
使用Speakeasy插件创建自定义请求/响应作为Jira扩展名: