-
Bug
-
Resolution: Incomplete
-
Low (View bug fix roadmap)
-
None
-
6.0.1/OD-15
-
6
-
JRA-22110 being actually fixed would cause this to behave less terrifyingly/hilariously
It is yet unclear to me if the root underlying cause is exactly JRA-21224 in our case (it may very well be),
Regardless it seems almost certainly incorrect for an email to be requeued/reprocessed infinitely (or until restart?) when it is causing the same exception on every attempt (and increasing pcounter on every try).
Though it is not especially interesting, our stack trace with business details redacted is attached.
- is caused by
-
JRASERVER-22110 Jira issue creation increments issue key counter even if creation fails (producing big gap in issue numbering)
-
- Closed
-
- is related to
-
JRASERVER-5812 UnsupportedEncodingException when parsing email with utf-7 or unicode-1-1-utf-7 encoding
- Closed
-
JRASERVER-13885 Prevent mail loop if JIRA fails to parse attachments of an e-mail message
- Closed
I have solved my problem of increased number of pcount after JIRA was unable to remove remove an email with Polish characters from a POP3 account. This was due to JIRA tables being in Latin1 encoding and not UTF-8. After changing to tables to UTF-8 it finally manage to download the stuck email form my inbox then remove thus stopped increasing pcount with each failed attempt to remove it. The below steps worked fine and reset the counter of our tickets although it DID NOT change any references to tickets in their messages (would be good if JIRA allowed to automatically search and replace all matching references as an option).
"Unfortunately, there's no simple way to fix this from the UI. Also, manipulating the database directly may be too tedious and risky.
The safest way to fix this (especially if the issue affected only one project) may be to perform a bulk move operation of all the issues in the affected project, into a new temporary project, reset the issue number counter for the original project from the database, and then move back the issues into the original project. This should cause all this issues to be re-issued new issue keys in a sequential order after migration.
Basically the steps to perform could be as follows:
"