-
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 You do not have permission to view this issue
- is cloned by
-
JSDS-2668 You do not have permission to view this issue
- mentioned in
-
Page Failed to load
- PIR - Improvement Action
-
PIR-1187 Loading...
[JSDSERVER-4123] JSON export doesn't differentiate public from internal comments
UIS | New: 0 |
Workflow | Original: JSD Bug Workflow v5 - TEMP [ 2303990 ] | New: JAC Bug Workflow v3 [ 3126515 ] |
Status | Original: Done [ 10044 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Awaiting Release [ 11372 ] | New: Done [ 10044 ] |
Fix Version/s | New: 4.0.0 [ 81612 ] |
Status | Original: In Progress [ 3 ] | New: Awaiting Release [ 11372 ] |
Status | Original: To Do [ 10071 ] | New: In Progress [ 3 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Assignee | New: Aliaksei Melnikau [ amelnikau ] |
Remote Link | New: This issue links to "JSDS-2668 (Bulldog)" [ 386138 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 378698 ] |