Project Import; Required status error
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
When importing a project you receive an error regarding a status being required even though it is present in the JIRA instance that you are importing into.
The status 'TO DO' is required for the import but does not exist in the current JIRA instance. The status 'TO DO' is in use by an issue of type 'Sub-task' in the backup file. The workflow 'YYZ: some Workflow', which is associated with issue type 'Sub-task', does not use this status. You must either edit the workflow to use the status or associate a workflow with issue type 'Sub-task' that uses the status. See the documentation for more information
Note the capitalization of the status. In this particular example the source data had a status of 'TO DO' but the destination had a status of 'To Do'. Even though you chose to map the status it doesn't see the status as exact and will still throw the above mentioned error.
Workarounds are ways to temporally circumvent a problem, although it still exists in the application.
Open the entities.xml from the backup you are trying to import from. You should find a line similar to the below near the end of the file. Edit the "TO DO" in this case to match the correct capitalization of the status in the destination instance and you should now be able to import the project without error.
<Status id="10002" sequence="9" name="TO DO" iconurl="/images/icons/statuses/open.png" statuscategory="2"/>