-
Bug
-
Resolution: Fixed
-
Low
-
3.1.9, 3.2.2
-
1
-
Severity 3 - Minor
-
3
-
Summary
It is not possible to edit a JIRA Service Desk comment when attachments are disabled in the JIRA Core settings.
Environment
- JIRA Core 7.2.x
- JIRA Service Desk 3.2.x
Steps to Reproduce
- Disable file attachments - Configuring file attachments.
- Add a comment to a Service Desk enabled project.
- Try to edit the comment.
- Click on either 'Share with customer' or 'Add to issue only'.
Expected Results
Editing the comment works and the comment is saved.
Actual Results
A red banner is displayed with the error:
Failed to attach files
You do not have permission to create attachments for this issue.
The warning below is written to the standard Tomcat log (e.g. catalina.out) file:
11-Oct-2016 16:57:18.155 WARNING [http-nio-8721-exec-17] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.baseurl/rest/jddap/1.0/attachment, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
Notes
Creating and deleting comments work as expected.
Workaround
Enable file attachments before editing the comments.
- is duplicated by
-
JRASERVER-46151 Unable to edit comments - "Failed to attach files" message
-
- Closed
-
- is related to
-
JSDSERVER-3972 Users are unable to edit comments without Create Attachment Permissions
-
- Closed
-
-
JSDS-732 You do not have permission to view this issue
- mentioned in
-
Page Failed to load
- was cloned as
-
JSDS-733 You do not have permission to view this issue
Form Name |
---|
[JSDSERVER-4379] Unable to edit comments when attachments are disabled
Fixed in Enterprise Release/s | New: [Download 4.5|https://confluence.atlassian.com/enterprise/atlassian-enterprise-releases-948227420.html] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
UIS | Original: 4 | New: 3 |
Assignee | New: Aidan Goldthorpe [ agoldthorpe ] |
UIS | Original: 3 | New: 4 |
Fix Version/s | New: 4.5.2 [ 90400 ] |
Link |
New:
This issue is duplicated by |
UIS | Original: 5 | New: 3 |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Fix Version/s | New: 4.6.0 [ 88912 ] |