# PluginSettings plugin data not being persisted

**URL:** <https://community.developer.atlassian.com/t/pluginsettings-plugin-data-not-being-persisted/26640>\
**Category:** Jira Server\
**Tags:** jira-server\
**Created:** [January 28, 2019, 7:52pm UTC](https://community.developer.atlassian.com/t/pluginsettings-plugin-data-not-being-persisted/26640 "2019-01-28T19:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![workacct.cbc](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@workacct.cbc](https://community.developer.atlassian.com/u/workacct.cbc)\
**Post date:** [January 28, 2019, 7:52pm UTC](https://community.developer.atlassian.com/t/pluginsettings-plugin-data-not-being-persisted/26640/1 "2019-01-28T19:52:52Z")

</div>

Hello,

I developed a plugin using the Atlassian SDK against JIRA 7.4.4 that has an admin panel for project configuration. In my local development environment, the plugin works as expected and per-project configuration changes made through a REST module in the plugin are correctly persisted and retrieved (using `PluginSettingsFactory#createGlobalSettings()`).

However, when I now deploy this plugin through UPM into an actual JIRA instance (v7.4.4) the REST module returns the correct status code but changes are not persisted to the backend.

Can anyone think of what I might check and possible reasons for why I might be seeing this behavior?

A related question is - how do I control where the logs for my plugin go? The `log4j.properties` file bundled along with the plugin is expected to create a plugin specific configuration file, but I don’t see that file anywhere under JIRA\_HOME.

Thanks.

---

<div class="post-metadata">

**Author:** ![workacct.cbc](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@workacct.cbc](https://community.developer.atlassian.com/u/workacct.cbc)\
**Post date:** [January 29, 2019, 3:16pm UTC](https://community.developer.atlassian.com/t/pluginsettings-plugin-data-not-being-persisted/26640/2 "2019-01-29T15:16:59Z")

</div>

OK, at least I figured out how to enable Logging. As an administrator, you need to enable log level for your package under `Logging and Profiling`.

I still cannot figure out why a `put()` on `PluginSettings` does not store my plugin settings…

---

<div class="post-metadata">

**Author:** ![workacct.cbc](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@workacct.cbc](https://community.developer.atlassian.com/u/workacct.cbc)\
**Post date:** [January 30, 2019, 2:19am UTC](https://community.developer.atlassian.com/t/pluginsettings-plugin-data-not-being-persisted/26640/3 "2019-01-30T02:19:35Z")

</div>

I don’t know how or why, but completely uninstalling the plugin and restarting the remote JIRA instance fixed the issue. I am suspecting there was some state conflict between successive versions of the plugin that were either uninstalled or overridden or disabled/re-enabled during testing that caused the issue.
