Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-5733

Trying to set a field as required when editing the fields of a request type does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 3.10.0, 3.11.0, 3.11.1

      Issue Summary

      Trying to set a field as required when editing the fields of a request type does not work when the request type is in use by the email channel.

      Steps to Reproduce

      1. Set up an Email channel
      2. Go to Project Settings > request types, and edit the fields of the request type in use by the Email Channel: 
      3. Try adding a field a setting it as required.

      Expected Behavior

      A warning message is shown, indicating "The request type is used by the email channel and Jira Service Desk cannot fill field <Field name> automatically from emails. Learn more"

      Actual Behavior

      Nothing happens when pressing the button Update, and if we check the developer tools, we get:

      • An error in the network tab like the following:
        {
            "errors": [
                {
                    "errorMessage": "This request type is used by the email channel and Jira Service Management cannot fill in field XXXXX automatically from emails."
                }
            ],
            "reasonKey": "sd.email.invalid.request.type.used",
            "reasonCode": "412"
        }
        
      • An error in the console tab like the following:
        PUT <Jira_BASE_URL>/rest/servicedesk/1/servicedesk/1/request-type-fields/visible/26 412 (Precondition Failed)
        

        1. screenshot-2.png
          screenshot-2.png
          126 kB
        2. screenshot-1.png
          screenshot-1.png
          144 kB
        3. image-2018-03-28-20-15-57-032.png
          image-2018-03-28-20-15-57-032.png
          110 kB

              Unassigned Unassigned
              rchiquete Rene C. [Atlassian Support] (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: