-
Bug
-
Resolution: Fixed
-
Highest
-
3.15.3, 3.16.2, 4.0.2, 4.1.0
-
None
-
9
-
Severity 2 - Major
-
185
-
Issue Summary
When a user views an SD ticket from Customer Portal, JSD only shows attachments from the first 50 comments that are viewable by the user:
- For a customer, this means the first 50 public comments
- For an agent, this means the first 50 comments regardless of public or internal, as long as the agent can view them all from Jira Issue View
Attachments added to any comment after the 50th viewable one can't be viewed or downloaded as JSD throws a 403 Forbidden error.
Steps to Reproduce
- Create a new SD ticket
- Add 49 public comments and 1 internal comment to it, without any attachments
- Add comment #51 as public, with an attachment
This can be done by either agent or customer from either Jira or Portal. Observe these behaviors:- From Portal, customer can view/download the attachment, as it's in the 50th comment viewable by him
- From Portal, agent can't view/download the attachment, as it's in the 51st comment viewable by him
- From Jira, agent can view/download/manage the attachment normally
- Add comment #52 as public, with a different attachment that has a different file name
This can be done by either agent or customer from either Jira or Portal. Observe these behaviors:- From Portal, customer can't view/download the attachment, as it's in the 51st comment viewable by him
- From Portal, agent can't view/download the attachment, as it's in the 52nd comment viewable by him
- From Jira, agent can view/download/manage the attachment normally
Expected Results
Attachments should be able to be viewed/downloaded from Portal regardless of where it appears.
Actual Results
A 403 Forbidden error is thrown for attachments added after the 50th viewable comment relative to the user.
Workarounds
Workaround 1 - Recommended
- As an agent, find a public comment that is among the first 50 comments (including both public and internal comments)
- Edit that comment and add wiki markup for the attachment
This way, the attachment is seen by JSD as appearing in 1 of the first 50 comments viewable by both customers and agents. Both customers and agents should then be able to view it from Portal.
Workaround 2 - only applicable to customers
As an agent, convert older public comments to internal so that the attachment now appears in one of the first 50 public comments. Customers should then be able to view it.
This won't help agents as internal comments are still viewable by them.
Workaround 3 - only applicable to agents
View the ticket in Jira instead of Portal.
- is related to
-
JSDSERVER-6310 Attachments cannot be previewed or downloaded from Customer Portal
- Closed
- is duplicated by
-
JSMDC-3859 Loading...
-
SEF-9342 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...