Hi All,
I need help if any validator is available by default in JIRA cloud premium version to ensure that attachment is added to the ticket before it get created.
Forms: Forms attached validator is available. Will this solve the purpose?
Do you have Scriptrunner?
If so, set up a "simple scripted validator" on your workflow, for the "Create" transition:
-----------------------------
def components = issue.getAttachments()
def collectionSize = components.size()
if (collectionSize == 0 )
{
return false
}
else
{
return true
}
Thanks for your response. I don't have a script runner.
also, what is the use of the validator I asked- Forms: Forms attached
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.