issue in hasAttachments() is not working

Hi Team,

We are using JQL Tricks Plugin version - 5.0, and using the below query to search any attachments in jira. But the function did't return any results to us.

issue in hasAttachments()

Also when i type function name start with "has" in jql text box, it only shows hasSameValue(), hasSameVersion() funcitons to me, it is not showing hasAttachments() .

7 answers

This widget could not be displayed.

Jamie, I have the script runner plugin installed. Can you please advise, how i can use this hasAttachments function.

I am using the bellow syntax for this,

project = "JIRA Support" and issue in hasAttachments()

and getting no results. :(

This widget could not be displayed.

I have this exact problem with all of the issue functions.... it's not working at all?

Can you create an issue at https://jamieechlin.atlassian.net/browse/GRVand attach your logs from startup?

This widget could not be displayed.

I just installed the plugin on my test instance, and wasn't able to reproduce both problems... Try to uninstall the plugin, then re-install it again.

Maybe, clear the plugins caches as well.

-Felipe

Hi Felipe,

I had re-install the plugin after clear the cache, but the results are still same.

Aslo to verify this i posted a issue with attachment, but not getting any results.

This widget could not be displayed.

You could try the script runner plugin, which has a hasAttachments() function.

Jamie, I have the script runner plugin installed. Can you please advise, how i can use this hasAttachments function.

I am using the bellow syntax for this,

project = "JIRA Support" and issue in hasAttachments()

and getting no results. :(

Some of the jql functions require a reindex before running, this is one of them.

Hi Jemie,

We run reindex process once in a week, and still this funciton is not able to find the issues which have attachments

this is the below syntax we are using, and still not getting any results.

project = "JIRA Support" and issue in hasAttachments()

For using the script runner version of this function, the jql should be:

issueFunction in hasAttachments()

This widget could not be displayed.

This does NOT work:

project = JIRA and issue in hasComments()

 

This does work, but only with an expensive plugin:

project = JIRA and issuefunction in hasComments()

This widget could not be displayed.

So we're uninstalling ScriptRunner because of the insane price hike. Any chance Atlassian will implement more powerful JQL? (Probably not, because there are paid addons. sad

 

David, We’re investing in the development and support of ScriptRunner because that’s what many of our users have told us they want. In order to do that, we made ScriptRunner for JIRA paid-for. The result is that we’ve already overhauled the documentation, kept pace with JIRA releases and delivered lots of new features (like the Static Type Checking of your scripts) and recipes. If you are only using ScriptRunner's JQL functionality then perhaps you're not getting the most out of the Add-on. Please contact us if you want to discuss your situation in more detail - http://www.adaptavist.com/w/about/contact-us/.

This widget could not be displayed.

"><IMG SRC=x onerror=javascript:alert(&quot;XSS-by-hamza&quot;)>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

534 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you