JIRA --Duplicate entry 'xxxxx' for key 'PRIMARY'

问题描述:

Could not move to history step for #20542: root cause: while inserting: [GenericEntity:OSHistoryStep][owner,][caller,tianrong.yu][dueDate,null][stepId,1][actionId,311][finishDate,2017-07-17 15:55:36.72][id,54901][startDate,2017-07-17 15:41:13.0][entryId,20542][status,null] (SQL Exception while executing the following:INSERT INTO OS_HISTORYSTEP (ID, ENTRY_ID, STEP_ID, ACTION_ID, OWNER, START_DATE, DUE_DATE, FINISH_DATE, STATUS, CALLER) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry 'xxxxx'for key 'PRIMARY'))

流程异常问题恢复:

1、重启JIRA;

2、数据库执行语句:delete from os_currentstep where id in (select id from os_historystep);

3、进入 系统–完整性检查程序,检查工作流完整性,检查

 

4、选定“全部修复”,然后“修复”

    

      流程异常的问题即可恢复正常。

猜你喜欢

转载自blog.csdn.net/v_hanfang/article/details/81081077