Default to confidential when creating an issue in confidential epic
Summary
When the user tries to create a new issue in a confidential epic it will fail with an ambiguous error message. Instead it should create a confidential issue.
Steps to reproduce
- Create a confidential epic
- Attempt to add an issue using the Epics & Issues widget
Example Project
https://gitlab.com/groups/gitlab-org/epic-example/-/epics/8
What is the current bug behavior?
No issue is created, an unspecified error occurs
What is the expected correct behavior?
A confidential issue should be created successfully
Relevant logs and/or screenshots
Possible fixes
Set the confidential
attribute to true by default when creating an issue in confidential epics.
Edited by 🤖 GitLab Bot 🤖