Hi,
We're having issues with our Jira instance where it is either taking a long time to open the edit screen, or eventually timing out without opening the screen at all.
We've tracked it down to having the Assignee field included on the edit screen - if it's included on that screen it is either slow or times out, if it's removed from the edit screen then it opens almost instantly.
We've tried turning on the SQL logging and the below query seems to be taking a long time to run:
SELECT CG.ID, CG.issueid, CG.AUTHOR, CG.CREATED, CI.ID, CI.groupid, CI.FIELDTYPE, CI.FIELD, CI.OLDVALUE, CI.OLDSTRING, CI.NEWVALUE, CI.NEWSTRING FROM JIRASchema.changegroup CG INNER JOIN JIRASchema.changeitem CI ON CG.ID = CI.groupid WHERE CG.issueid='XXXXX' AND CI.FIELD='assignee' ORDER BY CG.CREATED ASC, CI.ID ASC
If we run this query directly against the database it runs quickly with no issues. This has only just started happening with Jira no changes that we're aware of.
Has anyone seen an issue like this before or know what we can try to resolve this issue?