Does anybody know if there is any limit in the number of characters when storing a configuration of a plugin? I mean, we store a json file in one key like this:
Should I be worried by any limitation?
Is there any way that Jira limits the size of this kind of configurations by characters or size? Or is there any parameter that is found in configs that can be changed if such limitation exists?
Hi @DanMoldoveanu,
as far as i know when it comes to storing plugin configurations in Jira, there are some limits to be aware of. While Jira doesn’t explicitly limit the number of characters for plugin settings, there are practical limits based on the underlying storage mechanism.
Key Points to Consider:
Property Set Limitations: Jira uses the Property Set framework to store plugin settings. Each property has a maximum size limit, which is typically around 10 MB per property.
File Size Limits: The maximum attachment size in Jira is 2 GB per file. While this isn’t directly related to plugin settings, it gives an idea of the practical limits for storing large configurations2.
Recommendations:
Keep Configurations Concise: Try to keep your JSON configurations as concise as possible to avoid hitting the size limits.
Use External Storage: For very large configurations, consider storing the data externally (e.g., in a database) and referencing it within your plugin.