Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16219

The Jira change calendar view displays an error message stating "Too many events" instead of showing the scheduled changes for deployment in the Day, Week, Month, or List view or when trying to use the filter mentioned in the change calendar UI.

      Issue Summary

      • The Jira change calendar view is displaying an error message stating "Too many events" instead of showing the scheduled changes for deployment in the Day, Week, Month, or List view, or when trying to use the filter mentioned in the change calendar UI.. Please find the attached screenshot and a Loom video for reference.

      https://www.loom.com/share/d8e28810c4f6412495b6531ca280dc54?sid=cbef0e61-7d07-4a6e-aabf-1efe665af209 

      Steps to Reproduce

      1. Configure change management in your LAB JSM environment.
      2. Create 100+ changes which has a change start date >= yesterday and a change end date <+ tomorrow.
      3. Try accessing the change calendar with the day selected. 

      Expected Results

      • The change calendar should be visible without errors.

      Actual Results

      • The Change Calendar Ui view is giving an error "Too many events".
      • We see the error below in the Atlassian Jira log.
        atlassian-jira.log
        Unable to find source-code formatter for language: code panel. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml2025-05-14 10:09:14,764+0200 http-nio-8080-exec-51 url: /rest/servicedesk/changemanagement/1/events; user: DKXPIQ0 WARN DKXPIQ0 609x1579261x5 1mvtur1 10.34.129.214,10.34.42.33 /rest/servicedesk/changemanagement/1/events [c.a.s.p.c.internal.event.CalendarEventsServiceImpl] Failed to search for issues
        java.lang.IllegalStateException: sd.change.management.too.many.events.found.error
        	at com.atlassian.servicedesk.plugins.changemanagement.internal.event.CalendarEventsServiceImpl.getCalendarEvents(CalendarEventsServiceImpl.java:108)
        
      • We enabled the debug package "com.atlassian.jira.issue.search.providers " to print JQL details in the logs. We see below JQL running to get the details.
        2025-05-14 10:09:14,546+0200 http-nio-8080-exec-51 url: /rest/servicedesk/changemanagement/1/events; user: DKXPIQ0 DEBUG DKXPIQ0 609x1579261x5 1mvtur1 10.34.129.214,10.34.42.33 /rest/servicedesk/changemanagement/1/events [c.a.j.i.search.providers.LuceneSearchProvider] JQL query:{project in (13500)}AND{cf[13714] <= 1747260000000}AND{cf[13715] >= 1747173600000} 
      • From the above JQL, we can see that Jira fetches all the Change requests between a given change start and change end date in the backend and then displays the output on the UI depending on what view (Day, week, Month, List) is selected.
      • In the frontend, Jira has a network payload configured. Depending on which view is selected, the request max result is set in the payload.
      • The below snippet shows the payload max result for the Day view, which is set to 100 change requests. If the number of change requests in a day exceeds 100, the user will see an error message "Too many events" on the UI.
        projectId=10000&startDateTime=1747180800000&endDateTime=1747267200000&startDateCustomFieldId=10109&endDateCustomFieldId=10110&maxResults=100 
        
        
      • Similarly, below the Maxresult configured for day, week, Month, list view
        Day - 100
        week - 150
        Month - 500
        List - 100
        
      • If the max result exceeds 500, the user will see the same error in all the views: day, week, month, and list.
      • The filter option is also showing the same error, even if the filter result is less than 100.

      Workaround

      Please use the below JQL to view which changes are scheduled in a given time period. This will not give you a calendar view, but at least we get the Change requests list, which are scheduled. Please modify the filter as per your requirement

      issuetype = Change and "Change start date" >=  "2025-05-18" and "Change completion date" <= "2025-05-20" order by "Change start date"
      

       

          Form Name

            [JSDSERVER-16219] The Jira change calendar view displays an error message stating "Too many events" instead of showing the scheduled changes for deployment in the Day, Week, Month, or List view or when trying to use the filter mentioned in the change calendar UI.

            SET Analytics Bot made changes -
            UIS Original: 30 New: 41
            SET Analytics Bot made changes -
            UIS Original: 1 New: 30
            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS New: 1
            Jira Server Release Automation Bot[ADM-107524] made changes -
            Fix Version/s Original: 10.7.1 [ 112593 ]
            Fix Version/s New: 10.7.2 [ 113126 ]
            Shova Acharya made changes -
            Fix Version/s Original: 10.6.2 [ 113190 ]
            Shova Acharya made changes -
            Fix Version/s New: 10.6.2 [ 113190 ]
            Sam Xu made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Sam Xu made changes -
            Development Effort New: M [ 13032 ]
            Status Original: Needs Triage [ 10030 ] New: In Progress [ 3 ]
            Sam Xu made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Closed [ 6 ] New: Needs Triage [ 10030 ]

              jxu2@atlassian.com Sam Xu
              1d12437dc9e8 Mehboob Salim Shaikh
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated: