-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
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:
- It is possible to use workflow validators on the Create Issue transition to check for the attachment field as a required field.
- 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:
- is related to
-
JRACLOUD-74407 Add the ability to make Attachment field as Required through Field configuration, not just workflow validator
- Gathering Interest