Hello, community
I have a big problem. In the workflow, I added a custom validator whose purpose is to check if the attachment is uploaded.
Here's a fairly common line of code I wrote:
def attachments = issue.getAttachments()
log.warn("attachments size: ${attachments.size()}")
But I'm wondering why I added a screen to the workflow transition and I've uploaded the attachment, but it's not available in the validator.