JIRA Query taking long hrs

We notice the following query taking longer time around 2hrs to finish

SELECT JIRAISSUE.ID FROM JIRAISSUE JIRAISSUE INNER JOIN JIRAACTION ACTION ON JIRAISSUE.ID = ACTION.ISSUEID WHERE (JIRAISSUE.PROJECT IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (ACTION.AUTHOR IN (?)) ORDER BY ACTION.CREATED DESC

Want to understand when this query will be invoked in JIRA, is there any specific gadgets or JIRA app invoking this query.

Please provide your thoughts

5 answers

1 vote

It looks like one of your users has created a search for "all issues with comments in a long list of projects". You should ask them to stop

Thanks Nic, I will check their dashboards,

Hi Nic,

I was checking the user dashboards and they are specific to a project does any gadget you are aware of internally make this call.

does "assigned to me" gadget make this call?

It is possible based upon the query which looks like find reporter (which could be yourself) in these projects.

I get this query from several users in the organization to pin point one particular user and when i checked one of their dashboard, theya re pulling reports on a particular project.

does any jira internal code make this call?

No, that's why we're looking at users - the internals won't do this, but the users can.

Thanks looks like the "Assigned to me" gadget on the users dashboard is triggering this query

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

172 views 1 10
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