Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59941

Setting a reminder on a Jira Release event type fails when using an Oracle database

      Issue Summary

      Attempting to set up a notification on a Jira Release Data event type in Team Calendars results in a SQL exception and fails.

      Steps to Reproduce

      1. Integrate Confluence & Team Calendars with a Jira instance (Bug report written with Confluence 7.4.0 -> Jira 8.5.4 -> Team Calendars )
      2. Create a Team Calendar in Confluence
      3. Create a few issues in Jira and also create a Release in Jira.
      4. Associate the issues with the Release and be sure to set a date on the Release Date. This date is what Team Calendars will display.
      5. From the Confluence calendar, create an Event and select Jira Release Dates and choose the project & it's release from the drop down. Secondlay, try to choose a reminder interval from the drop down menu.

      Expected Results

      You will be able to set a reminder interval for a Jira Release event type.

      Actual Results

      You'll receive the following SQL exception and setting up the reminder fails.

      Unable to load events of Jira Named Release (xxxxx-xxxxx-xxxx): PreparedStatementCallback; SQL [INSERT INTO "AO_950DC3_TC_JIRA_REMI_EVENTS" ("KEY_ID", "SUB_CALENDAR_ID", "USER_ID", "JQL", "TICKET_ID", "ASSIGNEE", "STATUS", "TITLE", "DESCRIPTION", "EVENT_TYPE", "UTC_START", "UTC_END", "ALL_DAY", "ISSUE_LINK", "ISSUE_ICON_URL") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; ORA-01400: cannot insert NULL into ("CONF615U"."AO_950DC3_TC_JIRA_REMI_EVENTS"."TICKET_ID") ; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("CONF615U"."AO_950DC3_TC_JIRA_REMI_EVENTS"."TICKET_ID")
      

      Workaround

      • Don't set a reminder for a Jira release event and the date of the release will still display correctly.
      • Mirror the release date to a custom field and use a different event type to display and notify on the custom date rather than the OOTB release date event type option.
      • Issue is not reproduced on Postgres

      Notes

      We need to validate this fix against all Oracle versions (12c and 19c) and above as supported in the upcoming releases of Confluence Supported Platforms

          Form Name

            [CONFSERVER-59941] Setting a reminder on a Jira Release event type fails when using an Oracle database

            Duy Truong Luong made changes -
            Labels Original: pse-request qko-rating-check-week-34 tc-a New: pse-request qko-rating-check-week-34 tc-a tc-e
            Duy Truong Luong made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Duy Truong Luong made changes -
            Labels Original: pse-request qko-rating-check-week-34 New: pse-request qko-rating-check-week-34 tc-a
            Duy Truong Luong made changes -
            Fix Version/s New: TC-6.0.53 [ 92491 ]
            Duy Truong Luong made changes -
            Status Original: Awaiting Merge [ 10064 ] New: Waiting for Release [ 12075 ]
            Duy Truong Luong made changes -
            Status Original: In Review [ 10051 ] New: Awaiting Merge [ 10064 ]
            Duy Truong Luong made changes -
            Story Points Original: 2 New: 3
            Duy Truong Luong made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Done [ 14331 ]
            Dee (Inactive) made changes -
            Labels Original: pse-request New: pse-request qko-rating-check-week-34
            Duy Truong Luong made changes -
            QA Kickoff Status Original: Not Done [ 14234 ] New: Done [ 14235 ]

              dluong Duy Truong Luong
              nlopez@atlassian.com Nancy Lopez
              Affected customers:
              3 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: