Hello!
During the Bulk Change operation inside a project we receive an error... to reproduce it we have to tick several non-epic objects, select "Move Issues" and then move for examples Bugs to Issues etc, once you click on it Error 500 with the following message appears
"com.atlassian.greenhopper.manager.lexorank.LexoRankIntegrityException: Expected exactly 2 rows; the maximum marker row and the lowest ranked row for rank field[id=10005]"
We tried following this guide as it seems to be the very same issue we have
"https://confluence.atlassian.com/jirakb/several-actions-such-as-issue-ranking-move-export-are-failing-779159169.html"
The guide worked fine until after the Diagnosis, naturally we didn't find any endmarkers for the rank ID 10005 (or any line at all for this ID actually) so we tried to execute the mentioned resolution
mysql> insert into AO_60DB71_LEXORANK values (DEFAULT,10005,7,-9223372036854775808,NULL,NULL,'0|000000:',0);
ERROR 1062 (23000): Duplicate entry '7' for key 'PRIMARY'
As you see we receive a duplicate error for this line, unfortunately the knowledgebase article doesn't offer a solution for this as nowhere is the required information which ID one should try instead
Thanks in Advance