Commit 5215d4d8 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'reuse-jira-issues-integration-available' into 'master'

Reuse Project#jira_issues_integration_available method

See merge request gitlab-org/gitlab!55070
parents 2dc1cf82 3613ab12
......@@ -15,7 +15,7 @@ module EE
if integration.is_a?(JiraService)
form_data.merge!(
show_jira_issues_integration: @project&.feature_available?(:jira_issues_integration).to_s,
show_jira_issues_integration: @project&.jira_issues_integration_available?.to_s,
show_jira_vulnerabilities_integration: integration.jira_vulnerabilities_integration_available?.to_s,
enable_jira_issues: integration.issues_enabled.to_s,
enable_jira_vulnerabilities: integration.jira_vulnerabilities_integration_enabled?.to_s,
......
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