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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

46 views 1 2
Join discussion

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