我列出了(说)100个潜在的Jira发行密钥(例如“ SPU-123”),并想检查它们是否确实存在于我们的Jira中.
进行100个单独的REST调用非常慢.有什么想法可以更快地执行此操作吗?
解决方法:
POST request和以下JQL:
{
"startIndex": 0,
"jql": "key in (ABC-1,ABC-2,ABC-3)",
"layoutKey": "list-view"
}
在缺少详细信息的问题的情况下,将导致HTTP400错误:
{
"errorMessages": [
"An issue with key 'ABC-1' does not exist for field 'id'.",
"An issue with key 'ABC-3' does not exist for field 'id'."
],
"errors": {}
}