On creating an Epic, check that 3 documents have been uploaded

chris van heerden November 18, 2014

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

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2014

The attachments are not available through attachment manager until the form is submitted. You might be able to look at the http request object.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events