On an instance running JIRA 6.1.2 or later, where configuration files have been loaded with versions 1.2.1 or earlier of the plugin, an error may seldom occur when trying to create a status, resolution, priority or issue type. This error can happen when these entities are created either manually or with version 1.3.0 or later of the plugin. Therefore, this problem may have remained hidden if no status was created manually and become visible only after updating the plugin to version 1.3.0 or later.
The error message is like:
This problem may be caused because versions of the plugin 1.2.1 or earlier did not update correctly the sequence numbers for those entities in table SEQUENCE_VALUE_ITEM. Sequence numbers for these entities were added with JIRA 6.1.2. They are used internally by JIRA to create ids for new entities. If they are not updated properly, JIRA can generate an id which is already being used by an existing entity. It is essentially the same problem as those described in the related articles.
If you get this error, it sometimes disappears after restarting JIRA. In this case, everything is fine and there is no need to fix anything. If the problem persisted, follow these steps: