By making use of the Scriptrunner plugin. In the Software Problem request type, "Which application are you having a problem with?" If the value selected in the field is “Web Browser Applications”, Attachment field should be filled. If you want to proceed without being filled, “You need to add a screenshot!” warning should appear.
Please see the previous answer you were given when you first asked, over at https://community.atlassian.com/t5/Jira-Service-Management/Scriptrunner/qaq-p/2431084
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.