Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-18538

Jira ignores the Sprint state in JSON import

      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

            Pedro Tacla Yamada made changes -
            Resolution New: Not a bug [ 12 ]
            Status Original: Long Term Backlog [ 12073 ] New: Closed [ 6 ]
            Pedro Tacla Yamada made changes -
            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
            Pedro Tacla Yamada made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Adven made changes -
            Summary Original: Jira ignore the Sprint state in JSON file New: Jira ignores the Sprint state in JSON import
            Adven made changes -
            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
            Azmir Zan (Inactive) created issue -

              Unassigned Unassigned
              amdzan Azmir Zan (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: