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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

779 views 2 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