Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-95249

Confluence allows choosing a disabled custom field value on the create new issue UI from Jira Issues Macro

    XMLWordPrintable

Details

    Description

      Issue Summary

      When Jira and Confluence are integrated through an application link, users can create Jira issues directly from a Confluence while editing a page with the Jira Issues Macro.

      Confluence allows users choosing custom field values that were disabled on Jira.

      Steps to Reproduce

      1. Install a vanilla instance of Jira Software Data Center.
        • This bug was validated with JSW DC 9.14.0.
      2. Create a Software project with sample data.
      3. Create a new custom field of type select list (single choice).
        • Add a handful of options.
      4. Edit options of the default context of this CF and disable one of the options.
      5. Make this Custom Field required through the field configuration.
        • This is necessary so the custom field appears on JIM's create issue screen.
      6. Note that this option won't be available on Jira UI if you try to create an issue.
      7. Install a vanilla instance of Confluence Data Center.
        • This was validated with Confluence DC 8.8.1.
      8. Create an application link between Confluence and Jira.
      9. Create a sample Space.
      10. Create a new page and start editing it.
      11. Add a Jira Issues Macro (JIM).
      12. Choose create new issue.
      13. Choose the target Jira project and the issue type.
      14. Check the available options for the Custom Field.

      Expected Results

      Confluence doesn't show the CF option that was disabled on Jira.

      Actual Results

      Confluence shows the CF option that was disabled on Jira.

      Confluence runs the following request from the browser, which has a response with details that an option is disabled.

      <Confluence-Base-URL>/rest/jira-integration/1.0/servers/<applink-ID>/projects/<Jira-project-ID>/issue-types/<ID>/fields-meta
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          36 kB
        2. screenshot-2.png
          screenshot-2.png
          111 kB
        3. screenshot-3.png
          screenshot-3.png
          149 kB
        4. screenshot-4.png
          screenshot-4.png
          110 kB
        5. screenshot-5.png
          screenshot-5.png
          250 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmasutti Thiago Masutti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: