-
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
[JSWCLOUD-18538] Jira ignores the Sprint state in JSON import
Resolution | New: Not a bug [ 12 ] | |
Status | Original: Long Term Backlog [ 12073 ] | New: Closed [ 6 ] |
Description |
Original:
h3. Issue Summary
Jira ignore the Sprint state in JSON file even though it has been set to "Complete" h3. Steps to Reproduce * Follow the steps as outlined here [Importing data from JSON|https://confluence.atlassian.com/adminjiracloud/importing-data-from-json-776636779.html/] * Set the state of the sprint to "Complete" and make sure there is no existing Sprint with the same name. {code} "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" {code} * Import the json file using the *External system import* h3. Expected Results Sprint is imported as "Complete Sprint" and not showing in backlog h3. Actual Results Sprint is imported as "Future Sprint" and visible in backlog h3. Workaround No workaround at this moment |
New:
_This issue was simply a documentation inconsistency. The documentation has now been updated. "state" should be "FUTURE", "ACTIVE" or "CLOSED"._
h3. Issue Summary Jira ignore the Sprint state in JSON file even though it has been set to "Complete" h3. Steps to Reproduce * Follow the steps as outlined here [Importing data from JSON|https://confluence.atlassian.com/adminjiracloud/importing-data-from-json-776636779.html/] * Set the state of the sprint to "Complete" and make sure there is no existing Sprint with the same name. {code:java} "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" {code} * Import the json file using the *External system import* h3. Expected Results Sprint is imported as "Complete Sprint" and not showing in backlog h3. Actual Results Sprint is imported as "Future Sprint" and visible in backlog h3. Workaround No workaround at this moment |
Status | Original: Needs Triage [ 10030 ] | New: Long Term Backlog [ 12073 ] |
Support reference count | New: 1 |
Summary | Original: Jira ignore the Sprint state in JSON file | New: Jira ignores the Sprint state in JSON import |
Description |
Original:
h3. Issue Summary
Jira ignore the Sprint state in JSON file even though it has been set to "Complete" h3. Steps to Reproduce * Follow the steps as outlined here [Importing data from JSON|https://confluence.atlassian.com/adminjiracloud/importing-data-from-json-776636779.html/] * Set the state of the sprint to "Complete" {code} "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" {code} * Import the json file using the *External system import* h3. Expected Results Sprint is complete and not showing in backlog h3. Actual Results Sprint is still open and visible in backlog h3. Workaround No workaround at this moment |
New:
h3. Issue Summary
Jira ignore the Sprint state in JSON file even though it has been set to "Complete" h3. Steps to Reproduce * Follow the steps as outlined here [Importing data from JSON|https://confluence.atlassian.com/adminjiracloud/importing-data-from-json-776636779.html/] * Set the state of the sprint to "Complete" and make sure there is no existing Sprint with the same name. {code} "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" {code} * Import the json file using the *External system import* h3. Expected Results Sprint is imported as "Complete Sprint" and not showing in backlog h3. Actual Results Sprint is imported as "Future Sprint" and visible in backlog h3. 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?