I've got an issue collector that uses a single select drop-down.
If a specific value is selected in that drop-down, I want to require an attachment be added.
I've set up a JMWE field required validator with this code on Issue Create:
issue.get("customfield_18800") == "Request Type that requires attachment"
I have added the Attachments field to the list of required fields for that validator.
When I create an issue directly in Jira, the validator runs fine - if no attachment is provided I get a popup error - if an attachment is provided the issue is created.
However, when I try to submit an issue via an Issue Collector with an attachment added, the submit fails with the standard Oops! Something went wrong... message.
Chrome Developer Tools Console output shows this error:
Is there some other way I need to validate an attachment is included in the Issue Collector submitted issue?
Or and I just doing this wrong?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.