Jira service template can't be activated without re-entering password

Summary

At my organization we use GitLab together with Jira and have configure an instance-level service template for the Jira integration. This prevents having to reenter the URL/username/password for the Jira service user in each project.

Recently this has stopped working because the form validation for a project-level service activation doesn't allow you to activate a service without a password.

Steps to reproduce

  1. Define an instance-level service template
  2. Attempt to activate the service in a project without re-entering the username/password

What is the current bug behavior?

Service user password has to be entered at each activation

What is the expected correct behavior?

Password from global service template should be reusable

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:
Proxy:          no
Current User:   git
Using RVM:      no
Ruby Version:   2.5.3p105
Gem Version:    2.7.6
Bundler Version:1.16.6
Rake Version:   12.3.2
Redis Version:  3.2.12
Git Version:    2.18.1
Sidekiq Version:5.2.3
Go Version:     go1.11.4 linux/amd64

GitLab information Version: 11.7.5-ee Revision: ed04633 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.11 URL: https://gitlab.iavgroup.local HTTP Clone URL: https://gitlab.iavgroup.local/some-group/some-project.git SSH Clone URL: git@gitlab.iavgroup.local:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 8.4.4 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Assignee Loading
Time tracking Loading