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

Request Type drop down list in Automation screen does not show up all Request Types

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.0.0, 4.13.20, 4.20.8
    • 4.13.0, 4.20.0, 4.22.0
    • Automation
    • None

      Issue

      If there are more than 100 Customer Request Types (CRTs) configured in the same Jira Service Management (JSM) project, some of these CRTs will not be selectable in the Edit Request Type action in JSM automation rules.

      Steps to replicate

      1. Create a new JSM project
      2. Create more than 100 CRTs in the project in Project Settings > Request Types
      3. Go to Project Settings > Automation and create a new automation
      4. Add a new Edit Request Type action
      5. Look for any CRT that was created in the project after the 100th one (for example, the 101st, 102nd, 103rd one) in the Request Type drop down

      Expected result

      Any CRT should be found

      Actual result

      The recent CRTs can't be found and selected in the Request Type drop down. If we try to type the name of such CRT, then the following error message will be displayed in the UI:

      Please select a valid request type
      

      Note

      The reason behind this bug is the fact that the number of CRTs that are fetched to be listed in the dropdown menu using the REST end point /rest/servicedesk/automation/servicedeskmodules/1/then/requesttype/<PROJECT_KEY>/requesttypes has a hardcoded limit set to 100.

      Because of that, it is not possible to display more than 100 CRTs in the dropdown menu.

      Workaround

      There is no workaround at this moment.

          Form Name

            [JSDSERVER-10976] Request Type drop down list in Automation screen does not show up all Request Types

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 630465 ]
            Sylwia Mikołajczuk made changes -
            Fix Version/s Original: 5.0.1 [ 99992 ]
            Fix Version/s New: 5.0.0 [ 99898 ]
            Tanya Christensen made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 636338 ]
            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Tanya Christensen made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 633767 ]
            Elton Santos made changes -
            Fix Version/s New: 5.0.1 [ 99992 ]
            Elton Santos made changes -
            Fix Version/s New: 4.20.8 [ 100104 ]
            Elton Santos made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Elton Santos made changes -
            Remote Link New: This issue links to "Service Desk - Stable 4.20.x › Service Desk - Stable 4.20.x - OBR Smoke Tests › stable-issue-4.20-JSDSERVER-10976-fix-automerge-from-4_13 (server-syd-bamboo)" [ 632813 ]
            Elton Santos made changes -
            Remote Link New: This issue links to "Service Desk - Stable 4.20.x › OBR generation for JSM (Service Desk - Stable 4.20.x) › stable-issue-4.20-JSDSERVER-10976-fix-automerge-from-4_13 (server-syd-bamboo)" [ 632812 ]

              esantos2 Elton Santos
              1463fcb5e3fd Sireesha
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: