Commit ff8d1bd9 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'hotfix-epics-promotion' into 'master'

return true if milestone is not available for issuable

See merge request gitlab-org/gitlab-ee!9855
parents 752d267e 3676a679
......@@ -121,7 +121,7 @@ module Issuable
end
def milestone_available?
return if is_a?(Epic)
return true if is_a?(Epic)
project_id == milestone&.project_id || project.ancestors_upto.compact.include?(milestone&.group)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment