How is the syntax for search for issues in one project which have attachments?
Is it possible to add also the user who has attached the file in the query?
project = XYZ and issueFunction in hasAttachments()
With a user:
project = XYZ and issueFunction in fileAttached("by jbloggs")
Thank you very much for this very fast answer. I don't know why, but if I insert your source (and also other test syntax) I get always errors back (e.g. No such property: issueFunction for class: Script9 e.g. startup failed: Script10.groovy: 1: unexpected token: in @ line 1, column 35. project = FIASA and issueFunction in hasAttachments() ^ 1 error ). So do I have to set anywhere something? Should this run after install the plugin? I run already the Reindex after installation. Have I write something around this statement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought you were asking about how to run a query? It sounds like you are using it as a condition or something. Can you attach a screenshot, and describe more what you're trying to achieve... ta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the whole time to run this scrips in the Admin Script console and not in the default search!!! This was my problem - thank you very much for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you're welcome.
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.