• We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      We are using the JSON importer for transferring data from different systems to Jira Service Management and Jira Software.

      JSON import doesn't support a parameter that reflects if the comment is private or public.

      So, we update each comment to set the visibility.

      This operation decreases the speed of migration and causes the number of requests we use. As the result, Jira can't handle the pressure and falling down.

      The importer works great for JS because it doesn't have private or public comments.

      https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-json/

      // 
      {
          "projects": [
              {
                  "name": "Sample data",
                  "key": "SAM",
                  "issues": [
                      {
                          "status" : "Open",
                          "reporter" : "abcde-12345-fedcba",
                          "summary" : "Parent case",
                          "externalId": "1",
                          "comments": [
                              {
                                  "body": "This is a comment from admin 5 days ago",
                                  "author": "abcde-12345-fedcba",
                                  "created": "2012-08-31T17:59:02.161+0100"
                              },
                              {
                                  "body": "This is a comment from admin 1 day ago",
                                  "author": "abcde-12345-fedcba",
                                  "created": "2012-08-31T17:59:02.161+0100"
                              }
                          ]
                      }
                  ]
              }
          ]
      }
      

       

      Suggested Solution

      Add this "jsdPublic" or "properties" to make it possible and set the visibility of the comment or type of the comment.

       

      // code placeholder
      {
          "projects": [
              {
                  "name": "Sample data",
                  "key": "SAM",
                  "issues": [
                      {
                          "status" : "Open",
                          "reporter" : "abcde-12345-fedcba",
                          "summary" : "Parent case",
                          "externalId": "1",
                          "comments": [
                              {
                                  "body": "This is a comment from admin 5 days ago",
                                  "jsdPublic":true,
                                  "author": "abcde-12345-fedcba",
                                  "created": "2012-08-31T17:59:02.161+0100"
                              },
                              {
                                  "body": "This is a comment from admin 1 day ago",
                                  "jsdPublic":false,
                                  "author": "abcde-12345-fedcba",
                                  "created": "2012-08-31T17:59:02.161+0100"
                              }
                          ]
                      }
                  ]
              }
          ]
      }
      

       

      @Srihari Malagi

          Form Name

            [JSDSERVER-7143] Public or Private parameter for Comments in JSON Importer

            Marc Dacanay made changes -
            Labels New: ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 976935 ]
            Dima Lazarchuk created issue -

              Unassigned Unassigned
              a6a47bc97512 Dima Lazarchuk
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: