Show specific error messages when adding an issue to an epic
As part of #4000 (closed), we'll show a single catch-all message for any validation error when adding an issue to an epic.
Let's provide specific messages for each kind of validation, which help the user understand the error and what they can do to solve it.
Proposed validations:
- not a properly formatted URL (e.g.
ftp://invalid!
) - URL is from another domain (e.g.
http://externaldomain.ltd
) - URL is not of an issue (e.g.
https://gitlab.com/dashboard/groups
) - issue doesn't exist
- current user doesn't have editing permissions for the issue
- issue belongs to a project outside of the group or its subgroups
Edited by Pedro Moreira da Silva