Hi Team,
Please help me how to limit number of attachments per jira issue using script runner(groovy script)?
Regards,
Venkatesh.
I can't think of a way to do this.
You could write a validator and/or condition that says "do not allow transition if there are too many attachments", but that would not block a user just adding too many attachments when they felt like it.
A validator is the best way to do this. If you need some resources on some snippets, please refer to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.