-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
1
-
Severity 3 - Minor
-
This issue was simply a documentation inconsistency. The documentation has now been updated. "state" should be "FUTURE", "ACTIVE" or "CLOSED".
Issue Summary
Jira ignore the Sprint state in JSON file even though it has been set to "Complete"
Steps to Reproduce
- Follow the steps as outlined here Importing data from JSON
- Set the state of the sprint to "Complete" and make sure there is no existing Sprint with the same name.
"priority" : "High", "description" : "Test JSON import", "status" : "DONE", "reporter" : "abcde-12345-fedcba", "issueType" : "Bug", "summary" : "Test JSON import", "customFieldValues": [ { "fieldName": "Sprint", "fieldType": "com.pyxis.greenhopper.jira:gh-sprint", "value": [ { "rapidViewId": 11, "state": "Complete", "name": "SEK Sprint 123"
- Import the json file using the External system import
Expected Results
Sprint is imported as "Complete Sprint" and not showing in backlog
Actual Results
Sprint is imported as "Future Sprint" and visible in backlog
Workaround
No workaround at this moment
I'm still having problems with this.
Error returned from import...
Cannot add value [ [\{rapidViewId=12, state=CLOSED, name=Big New Sprint, startDate=2018-01-01, endDate=2018-01-01, completeDate=2018-01-01}] ] to CustomField Sprint in Issue with summary 'Test JSON import': null
any ideas?