Details
-
Type:
Bug
-
Status: Done
-
Priority:
Low
-
Resolution: Done
-
Affects Version/s: 5.6.1.1-jira8
-
Fix Version/s: 6.0.0
-
Labels:None
-
Sprint:DevTools 76
-
Critical Points:2.3
Description
If a user performs a push that is checked by the Require valid Jira issue pre-hook, but their corresponding Jira account (as determined by the applink) lacks browse permissions for at least one of the relevant projects, then Jira will reject the JQL query as invalid without attempting to run it. If validation were disabled, however, then the query would run fine - its result set would simply be restricted in accordance with what the user has permission to see. This seems like the better thing to do, since it ensures that the hook always gets a meaningful (albeit incomplete) answer if Jira can provide one.