Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-33054

QuickCreate/Edit dialog incorrectly shows "Some issue types are unavailable..." warning

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Atlassian Update – 5-Dec-2018

      Hello, everyone! We have been performed tests and found that we are no longer able to replicate this behavior in the latest Jira 7.12.3. Since all the confirmed versions so far for this issue have been in EOL versions, and we are not able to reproduce in Jira 7.12.3, we will proceed to close this request, for now, and re-evaluate in case we are able to confirm the issue still exists in any newer versions, which will be done by our support team.

      Best regards,
      René Chiquete - JAC Champion

      Summary

      The Create Issue (AJAX) dialog incorrectly shows Some issue types are unavailable due to incompatible field configuration and/or workflow associations.

      Steps to Reproduce

      Method 1

      1. Navigate to jira.atlassian.com
      2. Click on the Create button to create an issue.

      Method 2

      1. Download and restore reproducible.zip;
      2. Access it using the following credentials:
        username: matheus
        password: matheus
        
      3. Click on the Create button to create an issue.
      4. If the above doesn't reproduce the behavior:
        1. type DEMO-1 in the search field;
        2. Click on 'Edit' on the issue;
        3. Close the Edit issue dialog;
        4. Open the 'Create' dialog again.

      Method 3

      1. Setup your JIRA instance so that you have a project/issuetype/workflow combination that shows this warning when you edit an issue (for the issue type field)
      2. Edit an issue so that this warning is shown (using the quick edit dialog)
      3. Then try to create a new issue. The warning will be shown in the quick create dialog
      4. Right click on create issue and open it in a new tab. The warning will not be shown which is the correct behavior.

      Expected Results

      The create issue AJAX dialog would show all projects and issue types available without any warnings.

      Actual Results

      The create issue AJAX dialog does show all projects and issue types available, but shows the following message:

      Some issue types are unavailable due to incompatible field configuration and/or workflow associations

      This can be seen in the attached video: behavior.mp4

      Workaround

      There is a KB in which there are workarounds mentioned in case you want to remove this message from showing in the create issue screen: Some issue types are unavailable due to incompatible field configuration and/or workflow associations.

      • This message is expected in the Issue edit screen.

      Original Description

      To reproduce:

      • Setup your JIRA instance so that you have a project/issuetype/workflow combination that shows this warning when you edit an issue (for the issue type field)
      • Edit an issue so that this warning is shown (using the quick edit dialog)
      • Then try to create a new issue. The warning will be shown in the quick create dialog
      • Right click on create issue and open it in a new tab. The warning will not be shown which is the correct behavior.

      The full warning is: "Some issue types are unavailable due to incompatible field configuration and/or workflow associations."

      The root cause is in the FieldHtmlFactoryImpl class. It has a mutable static final Map of DISPLAY_PARAMS that's passed into both the getCreateHtml() and getEditHtml() field methods. If any of the fields modify this map and set certain params (such as "restrictedSelection") then these params will be passed to any subsequent calls as well until the server is restarted so that this map is restored to its inital state!

      We should probably make this map immutable and create mutable copies everytime we call getEditHtml()/getCreateHtml(). Now if only I knew the idiot who wrote this code ...

        1. behavior.mp4
          3.97 MB
        2. image-2018-05-08-12-22-04-812.png
          image-2018-05-08-12-22-04-812.png
          43 kB
        3. reproducible.zip
          46 kB
        4. Screenshot at Mar 22 11-30-39.png
          Screenshot at Mar 22 11-30-39.png
          43 kB
        5. Screenshot at Mar 22 11-32-09.png
          Screenshot at Mar 22 11-32-09.png
          20 kB

            [JRASERVER-33054] QuickCreate/Edit dialog incorrectly shows "Some issue types are unavailable..." warning

            We are on  v8.3.1#803002 and still get this error message.

            danna deaton added a comment - We are on  v8.3.1#803002 and still get this error message.

            Hello luisc6! I missed mentioning that the Cloud version of this request is JRACLOUD-33054. Please share the steps to reproduce there!

            Best regards,
            René Chiquete - JAC Champion.

            Rene C. [Atlassian Support] added a comment - Hello luisc6 ! I missed mentioning that the Cloud version of this request is JRACLOUD-33054 . Please share the steps to reproduce there! Best regards, René Chiquete - JAC Champion.

            To add ore specifics, we are seeing this on Jira cloud and not a EOL version at all. None of the suggested fixes work.

            Luis Rivera Carrasco added a comment - To add ore specifics, we are seeing this on Jira cloud and not a EOL version at all. None of the suggested fixes work.

            Hello everyone! We have been analyzing this request, with the following points worth mentioning:

            • The message reported is expected when editing an issue. This bug request is about the message "Some issue types are unavailable due to incompatible field configuration and/or workflow associations" appearing in the create issue screen, the message showing in the Edit screen is expected.
            • There is a KB in which there are workarounds mentioned in case you want to remove this message from showing in the create issue screen: Some issue types are unavailable due to incompatible field configuration and/or workflow associations.
            • For those who are experiencing any problem other than the message showing in the create issue screen, I suggest you reach out to our support team, for them to evaluate and suggest the next steps.
              • Please note that this bug is for Jira Server. If you are experiencing this in Jira Cloud, please raise you request for the Jira Cloud support team, as they are different products, supported by different teams.
              • For Jira Server, in case you are using a supported version (currently Jira 7.3 or newer) and if you are experiencing any other functions not working, please reach out to Support team as well. For versions that have reached EOL (Jira 7.2 or earlier) they are no longer supported and we suggest you upgrade to a supported version to be able for our support team to assist you.
            • Since all the confirmed versions so far for this issue have been in EOL versions, and we are not able to reproduce in Jira 7.12.3, we will proceed to close this request, for now, and re-evaluate in case we are able to confirm the issue still exists in any newer versions, which will be confirmed by our support team.

            Best regards,
            René Chiquete - JAC Champion

            Rene C. [Atlassian Support] added a comment - - edited Hello everyone! We have been analyzing this request, with the following points worth mentioning: The message reported is expected when editing an issue. This bug request is about the message "Some issue types are unavailable due to incompatible field configuration and/or workflow associations" appearing in the create issue screen, the message showing in the Edit screen is expected. There is a KB in which there are workarounds mentioned in case you want to remove this message from showing in the create issue screen: Some issue types are unavailable due to incompatible field configuration and/or workflow associations . For those who are experiencing any problem other than the message showing in the create issue screen, I suggest you reach out to our support team , for them to evaluate and suggest the next steps. Please note that this bug is for Jira Server. If you are experiencing this in Jira Cloud, please raise you request for the Jira Cloud support team, as they are different products, supported by different teams. For Jira Server, in case you are using a supported version (currently Jira 7.3 or newer) and if you are experiencing any other functions not working, please reach out to Support team as well. For versions that have reached EOL (Jira 7.2 or earlier) they are no longer supported and we suggest you upgrade to a supported version to be able for our support team to assist you. Since all the confirmed versions so far for this issue have been in EOL versions, and we are not able to reproduce in Jira 7.12.3, we will proceed to close this request, for now, and re-evaluate in case we are able to confirm the issue still exists in any newer versions, which will be confirmed by our support team. Best regards, René Chiquete - JAC Champion

            liut@szkingdom.com added a comment - - edited

            I have the same issue. My jira version is 7.0.8, when this  bug can be fixed?

            liut@szkingdom.com added a comment - - edited I have the same issue. My jira version is 7.0.8, when this  bug can be fixed?

            Can we please have this bug fixed already?

            Farah S Noshirwani added a comment - Can we please have this bug fixed already?

            Rayman added a comment -

            The message is shown on Edit page when the issue type is sub-task. All work round doesn't work. When this bug can be fixed?

            Rayman added a comment - The message is shown on Edit page when the issue type is sub-task. All work round doesn't work. When this bug can be fixed?

            I have the same issue as @Kristina Mason. Running cloud version, it does not stop me from doing any work but it does show on every create and edit screen.

            Luis Rivera Carrasco added a comment - I have the same issue as @Kristina Mason. Running cloud version, it does not stop me from doing any work but it does show on every create and edit screen.

            I'm having the same issue, but it doesn't stop me from doing anything. I can raise all issue types and move them between types. It just seems to show for no reason.

            Kristina Mason added a comment - I'm having the same issue, but it doesn't stop me from doing anything. I can raise all issue types and move them between types. It just seems to show for no reason.

            Aparna DS added a comment - - edited

            I am unable to create new issues of type Sub-task or epic because of this bug. If this can't be addressed is there a workaround else I would like to cancel my subscription.

            Aparna DS added a comment - - edited I am unable to create new issues of type Sub-task or epic because of this bug. If this can't be addressed is there a workaround else I would like to cancel my subscription.

              Unassigned Unassigned
              andreask@atlassian.com Andreas Knecht (Inactive)
              Affected customers:
              57 This affects my team
              Watchers:
              61 Start watching this issue

                Created:
                Updated:
                Resolved: