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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              esantos2 Elton Santos
              1463fcb5e3fd Sireesha
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync