-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.3.8, 7.4.5, 7.2.12, 7.5.3, 7.6.2, 7.6.9, 8.5.2
-
7.02
-
10
-
Severity 3 - Minor
-
4
-
Summary
Hiding "Attachment" field on the "Field Configuration" screen doesn't affect UI issue view screen. The "Attachments" section is still visible and attached files are accessible.
Environment
All JIRA versions.
Steps to Reproduce
- As admin or user:
- Create an issue in a project
- Attach one or more files to the issue (in "Attachments" section)
- As admin:
- go to Administration > Issues > Field configurations > Configure a specific project configuration
- on a "View Field Configuration" go to "Attachment" field and click "Hide"
Expected Results
For "hidden" field state:
- The "Attachments" section should not be present on UI issue view screen anymore.
Actual Results
For "hidden" field state:
- The "Attachments" section is still present on UI issue view screen regardless the Field Configuration settings for the field.
Notes
It looks like it's a usability bug, it confuses the users. Attachments section is presented on a Field Configuration screen like other custom fields, therefore the expected result of Hide/Show options should be aligned (or at least the behavior should be better described there).
At the same time, the REST API works as expected, the "attachment" field value is not present in a REST response (/rest/api/2/issue/issueID call) when the "Attachment" field is in a hidden state.
Also: there's a naming misalignment:
- "Attachments" on an issue screen view
- "Attachment" on "Field Configuration" view
Workaround
To hide completely the Attachment section on UI issue view screen you need to modify a permission schema and remove "Create Attachments" (canCreateAttachments) permission for a user role.
- is related to
-
JRASERVER-27637 REST issue get no longer shows attachments information
- Closed
- relates to
-
JRASERVER-61324 Ability to hide attachment field from Issue View
- Gathering Interest