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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.