Summary

      Currently, when exporting a SD request to JSON format, it's not possible to tell which comment is internal or public from the JSON file.

      Steps to reproduce

      1. Go to Manage add-ons -> All add-ons -> jira-importers-plugin -> Enable JSON export
      2. Create an SD request and add one internal and one public comment
      3. Export the request to JSON from its View Screen -> Export

      Expected behavior

      The comments can be differentiated with a visibility or internal/public parameter

      Actual behavior

      The comments only contain comment body, author, and date info:

      "comments" : [ {
              "body" : "Hi JIRA Admin,\n\nPublic\n\n– JIRA Admin",
              "author" : "admin",
              "created" : 1469704703000
            }, {
              "body" : "Hi JIRA Admin,\n\nPrivate\n\n– JIRA Admin",
              "author" : "admin",
              "created" : 1469704718000
            } ],
      

      Note

      A REST API endpoint can be used to retrieve and differentiate between internal and public comments:

      /rest/api/latest/issue/<issue_key>/comment?expand=properties

      e.g. http://localhost:8080/rest/api/latest/issue/DESK-1/comment?expand=properties

      Reference: JSD-1261

            [JSDSERVER-4123] JSON export doesn't differentiate public from internal comments

            Aliaksei Melnikau (Inactive) made changes -
            UIS New: 0
            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2303990 ] New: JAC Bug Workflow v3 [ 3126515 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Kamil Kolonko made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Awaiting Release [ 11372 ] New: Done [ 10044 ]
            Aliaksei Melnikau (Inactive) made changes -
            Fix Version/s New: 4.0.0 [ 81612 ]
            Aliaksei Melnikau (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: Awaiting Release [ 11372 ]
            Aliaksei Melnikau (Inactive) made changes -
            Status Original: To Do [ 10071 ] New: In Progress [ 3 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Nhi Nguyen (Inactive) made changes -
            Assignee New: Aliaksei Melnikau [ amelnikau ]
            Lachlan G (Inactive) made changes -
            Remote Link New: This issue links to "JSDS-2668 (Bulldog)" [ 386138 ]
            Lachlan G (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 378698 ]

              amelnikau Aliaksei Melnikau (Inactive)
              vdung Andy Nguyen (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: