-
Bug
-
Resolution: Won't Fix
-
Medium (View bug fix roadmap)
-
None
-
4.1.2
-
Jira tomcat + mySql
-
4.01
-
Hello,
following the support request JSP-63263 it seems that the issue key is incremented even if the issue creation fails, this may produce big gaps in issue numbering. I reccomend to increment issue key only when issue creation is succeful.
How this may happen (according to what experienced in JSP-63263)
-We have jira configured with create or comment mail handler and "forwardTo" correctly set.
-At a point we had the smtp server down during three days, so no outgoing mail from Jira.
-During these period we have recived (at least) one incoming email producing an error at the issue creation time (related to a mySql DB ecoding issue)
-in this case normally Jira pops the email from the mailbox and sends a "EMAIL HANDLER: Error handling:" notification
-it seems that being impossible to send the notification (smtp down) jira leaves the incoming email in the mailbox and therefore it tries again one minute after to create the issue, incrementing each time the issue key (I suppose this because if you look at the main gap in JSP-63263 (MMSHD-5757 vs. MMSHD-632) you have ( 5757-632=5125 ) / 1440 (minutes per day) = 3.5 days. That is exactly the duration of the smtp sever downtime.)
this is very annoyng because for the final user the impression is that the number of issues has explosed and the system is unstable
I reccomend to increment issue key only when issue creation is succeful.
- causes
-
JRASERVER-35310 Email reprocessing should fail harder, or pcounter increases constantly in background, resulting in huge gaps in issue numbering
-
- Closed
-
[JRASERVER-22110] Jira issue creation increments issue key counter even if creation fails (producing big gap in issue numbering)
Minimum Version | New: 4.01 |
Workflow | Original: JAC Bug Workflow v2 [ 2845809 ] | New: JAC Bug Workflow v3 [ 2928218 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2585542 ] | New: JAC Bug Workflow v2 [ 2845809 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1526908 ] | New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2585542 ] |
Labels | New: affects-server |
Component/s | New: Issue Creation - Issue Create Dialog [ 24490 ] | |
Component/s | Original: Issue Operations [Deprecated] [ 12761 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 [ 664464 ] | New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1526908 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v5 [ 647815 ] | New: JIRA Bug Workflow w Kanban v6 [ 664464 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v5 [ 266502 ] | New: JIRA Bug Workflow w Kanban v6 [ 647815 ] |