The attachment field system is a requirement in Jira Service Project.
However, there is an issue with certain transitions in the workflow where a screen appears containing required fields. The status should not change until the customer fills out these required fields.
Currently, the system only works for all required field but doesn’t work with the (Attachment system field) How can this problem be resolved?
Knowing that I have tried many solutions, like:
Permission for current assignee in the attachment section
Fields Required (JSU)
Required fields:Attachment
def customFieldManager = CoomponentAccessor.getCustomFieldManager()
def issue = issue
def customField = customFieldManager.getCustomFieldObjectByName("Attachment")
def customFieldValue = issue.getCustomFieldValue(customField)
if(customFieldValue) {
return true
} else {
return false
}
Nothing works.