The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.