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.