I know how to make Attachment field mandatory but I want users to attach atleast 3 files to JIRA ticket while creating an issue.
Any one can please help me how can I do the same?
I tried below option. Still not working.
Add Validator –> Script Validator --> Simple Script --> Has one or more attachments
attachmentManager.getAttachments(issue).size() >= 3
I added three attachments, still JIRA is not allowing me to create issue.
I also tried other option, to have atleast one Pdf
JIRA is not allowing me to create issue in this case also.
Can you please help me in this?
Can you add the validator on the next transition(s) in the workflow or write a postfunction that flags the issue and/or emails the creator somehow?
This would allow the creation of the issue, but prevent it from being acted upon further unless/until you have your three attachments.
I know it's not an exact solution, but maybe a possible workaround?
We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events