Hi Atlassian Support Team,
The combination of Jira Service Management and Insight Asset Management is not going great for us!
We had an early version of Insight when it was a third-party addon for Jira Service Desk. Things were great and we were extremely happy with both products. Long story short, after Insight stopped working for us after a few months and this error started to show up "Something went wrong. Contact administrator" on the top right corner of the screen for users.
As this error was causing Service Desk to dysfunction, we decided to disable Insight and Service Desk started to work again. After the recent migration to Jira Service Management, Insight became part of Jira and it started to cause the error mentioned above all over again.
On top of that Jira Service Management stops working sometimes with the following message showing in the Applications tab "Jira Service Management is licensed but not currently installed". As it asks for the application to installed again, we decided to hit install button and go on with the process. But installation fails and the same error appears again. We traced the error back again to the Insight add-on.
We managed to get Service Management working again by truncating the pluginenabled table in the Jira database and restarting Jira. However, we need to have a stable version of Service Management preferably with a functioning version of Insight Asset Management.
Cheers
Ghiath
I finally managed to fix the issue. After spending some time reading the error log, I traced back the issue to this error
The object 'fk_ao_8542f1_ifj_obj_attr_val_object_attribute_id' is dependent on column 'OBJECT_ATTRIBUTE_ID'.
I found the solution for the issue in a document named "Preparing for Insight Version 8.4" In short, our Insight has not migrated properly from version 7 to version 8 as it required manual changes to the database. Here are the steps to fix the issue:
SQL Server:
Before installation, query the database:
ALTER TABLE AO_8542F1_IFJ_OBJ_ATTR_VAL DROP CONSTRAINT
fk_ao_8542f1_ifj_obj_attr_val_object_attribute_id;
Install new Insight version.
After installation, query the database:
ALTER TABLE AO_8542F1_IFJ_OBJ_ATTR_VAL ADD CONSTRAINT
fk_ao_8542f1_ifj_obj_attr_val_object_attribute_id
FOREIGN KEY (OBJECT_ATTRIBUTE_ID) REFERENCES AO_8542F1_IFJ_OBJ_ATTR(ID);
MySQL:
Before installation, query the database:
ALTER TABLE AO_8542F1_IFJ_OBJ_ATTR_VAL DROP FOREIGN KEY
fk_ao_8542f1_ifj_obj_attr_val_object_attribute_id;
Install new Insight version.
After installation, query the database:
ALTER TABLE AO_8542F1_IFJ_OBJ_ATTR_VAL ADD CONSTRAINT
fk_ao_8542f1_ifj_obj_attr_val_object_attribute_id
FOREIGN KEY (OBJECT_ATTRIBUTE_ID) REFERENCES AO_8542F1_IFJ_OBJ_ATTR(ID);
After updating the database, I restarted Jira service and Insight started working again.
I upvote Ghiath Al Khatib answer, because it works for us for the most part. For us, the only tweak is that (A) after running the 1st "alter table" command (using the MySQL version), (B) we restart our Jira instance. (At this point our Jira's log says Insight upgrade is successful. If we did no run the "alter table" command, we would have an "upgrade failed".) (C) Then, we run the 2nd "alter table" command.
Perhaps, the reason we have to tweak the solution is because we have a slightly different setup than Ghiath's:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome Khuong. I'm glad the solution helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Ghiath
Welcome to the Atlassian Community page. If you want to talk directly to Atlassian Support, I recommend you go to https://support.atlassian.com/contact/#/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the welcome Rebert. In fact, I thought I was sending a message to the support team when I filled this form :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.