[英]JIRA API POST jql search
I need to get a bulk of issues that in
the array of keys. 我需要
in
键数组中解决很多问题。
A GET
URL-request like '...&issues in (key-1,key-2)...'
is not an option for me because of length of the array may be more than 200 so it will be a 2000+ chars URL request and it is not good as I red here . 像
'...&issues in (key-1,key-2)...'
这样'...&issues in (key-1,key-2)...'
GET
URL请求对我来说不是一个选择,因为数组的长度可能超过200个,所以它将是2000个以上的字符URL请求,这不好,因为我在这里红色。
Here is Jira's API example but there is no comments about the jql
property value format. 这是Jira的API示例,但没有有关
jql
属性值格式的注释。
How should I fill the JSON-POST-model
's jql
property for get issues by keys? 我应该如何填充
JSON-POST-model
的jql
属性以获取密钥获取问题?
You pass the jql
as part of the request body. 您将
jql
作为请求正文的一部分传递。 Here's a sample request body you can use for the /search
endpoint using POST: 这是一个示例请求正文,您可以使用POST将其用于
/search
端点:
{
"jql": "status in (Done, \"in progress\") OR issue in (TEST-1, TEST-2) ORDER BY created"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.