Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25434

Adding a multiple-choice custom field to a Program, will make it inaccessible

      Issue Summary

      This is reproducible on Data Center: (yes)

      There are reports from the field that after the upgrade to 9.7.1 the Programs inside JPO are throwing 404 errors and are inaccessible, I can replicate the issue on 9.6.0 by only adding a multiple-choice custom field to an existing Program.

      Steps to Reproduce

      1. Create a Program with 2 or more Plans
      2. Create a custom field (multiple-choice) with 4 or more options
      3. Add the custom field to the existing Program
      4. Try to access the Program

      Expected Results

      As a Jira admin we expect to be able to add a custom field multiple-choice or continue using the existing Programs that are attached to this type of field

      Note: Per the link below it should be supportable.

      https://confluence.atlassian.com/jirasoftwareserver/configure-custom-fields-in-advanced-roadmaps-1044784162.html

      Actual Results

      The below exception is thrown on the screen (screenshot below)
      Note: There are no entries on Jira log, only access.log will show the 404 error while accessing the /rest/jpo/1.0/customfield/getOptions endpoint

      404
      
      No response available.
      
      ===============
      === Request ===
      ===============
      
      URL: /j960/rest/jpo/1.0/customfield/getOptions
      Type: POST
      Status: 404
      Data: "{\"optionIds\":[\"10402\",\"10404\"]}"
      
      ===================
      === Client Info ===
      ===================
      
      User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
      Local time: Wed Nov 22 2023 14:19:02 GMT-0300 (Brasilia Standard Time)
      
      ===================
      === Plugin Info ===
      ===================
      
      Plugin build: 9.6.0
      
      ===================
      === System Info ===
      ===================
      
      Jira Title: Jira
      Jira Version: 9.6.0
      Agile Version: 9.6.0
      

      Workaround

      The only known workaround is to remove the custom field causing the error.

          Form Name

            [JSWSERVER-25434] Adding a multiple-choice custom field to a Program, will make it inaccessible

            Oleksandr Tkachenko made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1004480 ]
            Marc Dacanay made changes -
            Labels Original: ltsr
            Marc Dacanay made changes -
            Labels New: ltsr
            Magnus Karlsson (Inactive) made changes -
            Affects Version/s New: 9.10.0 [ 105099 ]

            changing WAITING_FOR_RELEASE to CLOSED as 9.12.2 has been released

            Timur Omelchenko added a comment - changing WAITING_FOR_RELEASE to CLOSED as 9.12.2 has been released
            Timur Omelchenko made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 8 New: 9

            We experience the same error and is reproducible on Data Center 9.12.0 for Select list (single choice)  field.
            Update existing program plan by adding custom field is throwing a 404 error. 
            After removing the custom field the program is accessible again.

            404
            
            No response available.
            
            ===============
            === Request ===
            ===============
            
            URL: /rest/jpo/1.0/customfield/getOptions
            Type: POST
            Status: 404
            Data: "{\"optionIds\":[\"14516\",\"14517\",\"14518\",\"14519\",\"14520\"]}"
            
            ===================
            === Client Info ===
            ===================
            
            User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
            Local time: Tue Jan 09 2024 10:40:20 GMT+0100 (Central European Standard Time)
            
            ===================
            === Plugin Info ===
            ===================
            
            Plugin build: 9.12.0
            
            ===================
            === System Info ===
            ===================
            
            Jira Title: Jira
            Jira Version: 9.12.0
            Agile Version: 9.12.0 

             

            Yamaha Motor Europe N.V. added a comment - - edited We experience the same error and is reproducible on Data Center 9.12.0 for Select list (single choice)  field. Update existing program plan by adding custom field is throwing a 404 error.  After removing the custom field the program is accessible again. 404 No response available. =============== === Request === =============== URL: / rest /jpo/1.0/customfield/getOptions Type: POST Status: 404 Data: "{\" optionIds\ ":[\" 14516\ ",\" 14517\ ",\" 14518\ ",\" 14519\ ",\" 14520\ "]}" =================== === Client Info === =================== User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Local time: Tue Jan 09 2024 10:40:20 GMT+0100 (Central European Standard Time) =================== === Plugin Info === =================== Plugin build: 9.12.0 =================== === System Info === =================== Jira Title: Jira Jira Version: 9.12.0 Agile Version: 9.12.0  
            SET Analytics Bot made changes -
            UIS Original: 2 New: 8
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2

              drauf Daniel Rauf
              a043f042db56 Jose Filho
              Affected customers:
              8 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: