简体   繁体   English

"JIRA:为什么我们默认只能批量处理 1000 张票?"

[英]JIRA : Why can we only bulk 1000 tickets by default?

This limit has caused me much more time.这个限制让我有更多的时间。 What is the reason behind this setting that is so sophisticated that I can't even find on the internet ?这个设置如此复杂以至于我什至在互联网上都找不到的原因是什么?

Thanks.谢谢。

"

Bulk editing in Jira is a memory intensive operation . Jira中的批量编辑是一种内存密集型操作 Jira has this intentional limit to avoid performance degradation or even OutOfMemoryException , which could cause your instance to crash. Jira有这个故意限制,以避免性能下降甚至OutOfMemoryException ,这可能会导致您的实例崩溃。

You can override this limit AT YOUR OWN RISK , by configuring your own jira-config.properties and add the following override properties. 您可以覆盖此限制AT自负 ,通过配置自己jira-config.properties并添加以下重写性能。 An example to set the limit to 2000: 将限制设置为2000的示例:

jira.bulk.edit.limit.issue.count=2000

It is not necessary to change the jira.bulk.edit.limit.issue.count parameter.无需更改 jira.bulk.edit.limit.issue.count 参数。 Here is how I would approach the problem.这是我将如何解决这个问题。

I had like 3000 issues to bulk change, custom field was empty and I need to add the same value to that custom field.我有 3000 个问题需要批量更改,自定义字段为空,我需要向该自定义字段添加相同的值。

In the JQL filter add at the end: AND "MyCustomField" is EMPTY在 JQL 过滤器的末尾添加: AND "MyCustomField" is EMPTY

(MyCustomField can be any of your custom field that you want to bulk change.) (MyCustomField 可以是您想要批量更改的任何自定义字段。)

It will list all issues where that custom field is empty, in my case 3000 issues.它将列出该自定义字段为空的所有问题,在我的情况下为 3000 个问题。

Now I go to: Tools > maximum 1,000 issues Then edit those 1000 issues out of 3000 total.现在我转到:工具 > 最多 1,000 个问题然后编辑总共 3000 个问题中的 1000 个问题。

Then you run the same JQL search again and will have 2000 issues with that custom field left empty.然后,您再次运行相同的 JQL 搜索,将有 2000 个问题,该自定义字段留空。

Do the same again: Tools > maximum 1,000 issues Then edit those 1000 issues out of 2000 total.再次执行相同操作:工具 > 最多 1,000 个问题 然后编辑总共 2000 个问题中的 1000 个问题。

Than again the same, until you have no more issues with that custom field left empty.比再次相同,直到您对该自定义字段留空没有更多问题为止。

"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM