No 'projectroleid' field for ProjectRoleActor

Hi,

I received following error message whileimporting project from one instance to another -

"There was a problem parsing the backup XML file at <import_location/backup_file_name.zip>: No 'projectroleid' field for ProjectRoleActor <28760>.

Can you please suggest how to fix this and import the project successfully.

Thanks a lot,

Regds,

Pawan

2 answers

This widget could not be displayed.

Hi Pawan.

To import this project you can use the following workaround.

  1. Create a backup of this XML backup;
  2. Open the XML backup and search for <ProjectRoleActor id="28760"
  3. Remove this entry from the file
  4. Save the XML and try to import again

Hope this helps,

Marcus Silveira

Hi Marcus,

Thanks for the workaround. However, the problem at our end is the size of XML backup(approx a GB) and am afraid that while performing workaround steps(unziping the xml),it may add load to the server.

It would be appreciable if you could provide us the root cause of the issue which could help us out in debugging the issue.

Thanks,

Pawan

This widget could not be displayed.

just run the following SQL over Jira database before generating your XML backup:

delete from ProjectRoleActor  where projectroleid is null;
commit;

No restart or reindex is required

What effect will this query have on the database?

We have a lot of entries when we run a select query

SELECT * FROM projectroleactor WHERE projectroleid IS null;

Before we run the delete query I want to know what can be the possible consequences.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

34 views 0 0
View post

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