Skip to content
Snippets Groups Projects
Commit 8691f859 authored by Aishwarya's avatar Aishwarya
Browse files

Refactored jira issue enforcement method

parent cb2cb85d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -771,9 +771,7 @@ def add_template_export_job(current_user:, after_export_strategy: nil, params: {
end
 
def prevent_merge_without_jira_issue?
return false unless jira_issue_association_required_to_merge_enabled?
prevent_merge_without_jira_issue
jira_issue_association_required_to_merge_enabled? && prevent_merge_without_jira_issue
end
 
private
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment