JSON Importer - Why am I getting "Version does not exist for project" messages on the import log?

Jim Anderson July 9, 2013

Importing into existing project. Using - "fixedVersions": ["14.001"], - and 14.001 is a version defined for the project. Full log message states:

Version does not exist for project: 'ExternalProject[jiraId=10044,id=<null>,externalName=<null>,name=MY Project,key=DEV,url=<null>,lead=<null>,description=<null>,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=<null>,versions=<null>,components=<null>,issues=[ExternalIssue{externalId=717311, summary=My Summary, issueType=Enhancement}],workflowSchemeName=<null>]' : and version: '14.001'.
 
I also have the same issue with components. 
 
The issue otherwise imports correctly. 
 
On JIRA 5.2.7, using JIM 5.0.4. 

1 answer

0 votes
vlada July 5, 2014

I run to same issue - it's stupid but you need to include all versions and components which you refer from the issues seciton.

Example:

"issues": [

{

"issueType" :"Bug",

"priority" : "4",

"summary" : "habla",

"components" : [ "XY" ],

"affectedVersions" : [ "VersionX" ],

...

then you have include

"components": [ "XY" ],

"version" : [ "VersionX" ],

in project definition part

Suggest an answer

Log in or Sign up to answer