Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-7852

When creating Sub-Defects, the Custom Field options are not obeying the Project context

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 15, XRAYCLOUD 2024 Sprint 16
    • NOTRUN

    Description

      Description

      When creating Sub-Defects, the Custom Field options do not obey the Project context, showing values from different projects

      How to reproduce

      1. Create one Custom Field
      2. Create two different Contexts inside the Custom Field

      1. Attempt to create a Sub defect inside a Test Run

      1. In the custom field dropdown the options from both contexts will appear as selectable
      2. Try to select one of the options that is not affected by that project

      1. Select Create, and the error will appear

      Actual result/Attachments

      It allows the selection of contexts that do not belong to the project where the sub-defect is created, leading to an error as shown below:

      Expected result

      Ensure that only the context options corresponding to the selected project are displayed and available for selection, rather than showing all options from all contexts.

      Version

      • 4.8.2-1

      Workaround

      Attachments

        1. image-2024-10-16-10-30-11-650.png
          85 kB
          Ana Ribeiro
        2. image-2024-10-16-10-31-23-617.png
          63 kB
          Ana Ribeiro
        3. image-2024-10-16-10-31-58-740.png
          61 kB
          Ana Ribeiro
        4. image-2024-10-16-10-32-42-529.png
          79 kB
          Ana Ribeiro
        5. image-2024-10-16-10-35-41-238.png
          6 kB
          Ana Ribeiro

        Activity

          People

            angela.coel Angela Coelho
            ana.ribeiro Ana Ribeiro
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: