Add additional information with the error message when linking two issues

Problem to solve

Currently, if a user wants to link two issues in two different projects, he needs at least the reporter role in these two projects.

If the user does not have enough permissions in one project, although he can view two issues, when trying to link these issues, the error message is shown as below:

image

The error message may confuse the user: I can view these issues, why the error message is "no matching issue found"?

Proposal

The actual problem is that the user does not have enough permissions. Thus, additional information should be given instead of the general error message above.

Edited by ZTZK