I'm trying to build a tool that will export our Redmine data and process it into a format that can then be easily imported into Jira. I've built the script for exporting the Redmine data we need and now I'm just trying to figure out the import format Jira requires. The JSON documentation is sparse and outdated, to say the least. I've worked through a few problems (like requiring undocumented `template` and `type` fields), but I cannot figure out how to create projects when importing.
I am working with a slightly modified example from the documentation:
{
"projects": [
{
"name": "Sample data",
"key": "SAM",
"type": "business",
"template": "Project management",
"issues": [
{
"key" : "SAM-123",
"status" : "To Do",
"summary" : "Parent case",
"externalId": "123"
}
]
}
]
}When I go to Settings -> System -> External System Import -> JSON and import that file, it presents me with this error:
Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state: Unable to create project: ExternalProject{id='null', key='SAM', externalName='null', name='Sample data', type='business', template='Project management'}: Invalid module key specified:
If I change the `key` field to a project key that already exists, it imports without issue so that seems to imply that I can't use a project whose Project Key does not already exist even though the docs seem to imply otherwise (emphasis mine):
You can assign a key to both the project and the issue. These keys can be different. This example will create a project with one issue, "SAM-123".
What am I doing wrong when trying to create these projects? We intend to import between tickets to around 300 projects, so being able to automatically create these will be crucial.
There's no image, and I don't even think you're looking at Jira, I suspect it's Greenhopper (in which case, you need to configure the colours in the Greenhopper/Agile config screens)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.