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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,109 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot