-
Bug
-
Resolution: Fixed
-
High
-
3.1.9
-
1
-
Severity 3 - Minor
-
0
-
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
- Go to Manage add-ons -> All add-ons -> jira-importers-plugin -> Enable JSON export
- Create an SD request and add one internal and one public comment
- 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
- incorporates
-
JRASERVER-33497 Export issue in JSON format doesn't show attachment information
- Gathering Impact
- relates to
-
JSDSERVER-1261 Comment return from REST API does not include Visibility for Service Desk Project
- Closed
- causes
-
HOT-68448 Loading...
- is cloned by
-
JSDS-2668 Loading...
- mentioned in
-
Page Loading...
- PIR - Improvement Action
-
PIR-1187 Loading...