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

Jira issue creation fails due to a problem with security level mapping.

XMLWordPrintable

      Issue Summary

      As per the issue-level security configuration documentation, when setting the default security level for an issue security scheme, if the issue reporter does not have the 'Set Issue Security' permission, the issue will be set to the default security level. 

      This does not seem to be working on Jira version 10.3.12, as it results in the exception below while creating the Jira issue.
      Security Level: The selected security level is not available for this issue. Please choose a different security level.

      Note:  The issue has been observed since 10.3.12, and the change made between 10.3.11 and 10.3.12 is a fix for JRASERVER-74605.

      Steps to Reproduce

      1. Create a new project (project A)
      2. Add 2 security levels for this project
        1. Security Level 1
        2. Security Level 2
      3. Set Level 1 as the Default level.
      4. Add a user (User A) to this project, having Browse project and Create issue permissions.
      5. Add this user (User A) to Security Level 2, but not to Security Level 1
      6. Make sure the “Security level”-System field is mapped to the Create issue screen mapped to the project.
      7. Create an issue using User A from project A

      Expected Results

      The user (User A) should be able to create a new issue from Project A successfully.

      Actual Results

      Jiar issue creation fails with the following exception:

      Security Level: The selected security level is not available for this issue. Please choose a different security level.

      Workaround

      • Mark the “Security level” system field as a required field to ensure the correct security level is selected during issue creation.
      • If the issue was created using the REST API, include the “Security level” field in the create section of the REST API script.

              Unassigned Unassigned
              e6507c4d83bb Vaisakh S
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: