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

2 votes

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

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 Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

62 views 4 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