Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-12977

Mandatory requirement for Attachment field is not checked from the Issue Create screen

    XMLWordPrintable

Details

    Description

      Attachment field has been marked as Required in the request form within the JSM project. The field also has a red asterisk showing that it is mandatory. However when creating an issue using the Create button from within Jira and using the request type fields, the mandatory requirement is not checked. Please see screenshot below, which shows the error message for all other fields, but not the attachment field. 

      See Screenshot - Issue-Create-Jira-Dev-Tools.png

      User is allowed to create an issue when other mandatory fields are filled in and without adding an attachment even though this field is marked as Required. Ticket is successfully created without errors.

      On the other hand, there is an error shown when the issue is created from the portal. See attachment - Issue-create-portal-error.png

       

      Workaround:

      1. It is possible to use workflow validators on the Create Issue transition to check for the attachment field as a required field.
      2. To do this, the steps to follow are:
        • Navigate to your project > Project settings > Workflows > Click to Edit the related workflow
        • On Diagram mode, click in the create issue transition > validators
        • Click on Add Validator
        • Select the Field required validator, and click Add
        • Now, select the Attachment field and enter any error message you would like to be shown. Click Add.
        • Publish the workflow ensuring to create a backup if needed.
          Additional Details on setting up a validator can be found here:

      Attachments

        Issue Links

          Activity

            People

              2aca7cfc99f9 Sayani Ghosh
              d311beede795 Bhaargavi Natarajan
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: