Hi,
I have installed script runner and Jira Misc workflow extension.
On create I have added a validation to check that 3 documents is uploaded
Please see screenshots below.
The Script workflow function : Simple scripted validator : Checks script:
attachmentManager.getAttachments(issue).size() >= 3
How can I write this script for this function? Can you please assist.
4. 3 documents attached but still getting the error.PNG
The attachments are not available through attachment manager until the form is submitted. You might be able to look at the http request object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.