No 'projectroleid' field for ProjectRoleActor

Pawan Modi October 7, 2012

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
Marcus Silveira
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 2012

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

Pawan Modi October 7, 2012

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

1 vote
Gregory Kneller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2013

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

Utkarsh Agarwal January 17, 2017

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.

Yusuf TAMBAG June 16, 2020

Nothing, it will just clean the zombie records from the projectroleactor table.

Suggest an answer

Log in or Sign up to answer