self.errors.add(:visibility_level,"#{level_name} is not allowed in a #{group_level_name} group.")
self.errors.add(:visibility_level,_("%{level_name} is not allowed in a %{group_level_name} group.")%{level_name: level_name,group_level_name: group_level_name})
help: "Don't include possibly sensitive code diffs in notification body."},
{type: 'textarea',name: 'recipients',placeholder: 'Emails separated by whitespace'}
{type: 'checkbox',name: 'send_from_committer_email',title: s_("EmailsOnPushService|Send from committer"),
help: s_("EmailsOnPushService|Send notifications from the committer's email address if the domain is part of the domain GitLab is running on (e.g. %{domains}).")%{domains: domains}},
{type: 'text',name: 'api_url',title: 'JIRA API URL',placeholder: 'If different from Web URL'},
{type: 'text',name: 'username',title: 'Username or Email',placeholder: 'Use a username for server version and an email for cloud version',required: true},
{type: 'password',name: 'password',title: 'Password or API token',placeholder: 'Use a password for server version and an API token for cloud version',required: true},
{type: 'text',name: 'jira_issue_transition_id',title: 'Transition ID(s)',placeholder: 'Use , or ; to separate multiple transition IDs'}
{type: 'text',name: 'api_url',title: s_('JiraService|JIRA API URL'),placeholder: s_('JiraService|If different from Web URL')},
{type: 'text',name: 'username',title: s_('JiraService|Username or Email'),placeholder: s_('JiraService|Use a username for server version and an email for cloud version'),required: true},
{type: 'password',name: 'password',title: s_('JiraService|Password or API token'),placeholder: s_('JiraService|Use a password for server version and an API token for cloud version'),required: true},
{type: 'text',name: 'jira_issue_transition_id',title: s_('JiraService|Transition ID(s)'),placeholder: s_('JiraService|Use , or ; to separate multiple transition IDs')}
]
end
...
...
@@ -139,7 +139,7 @@ class JiraService < IssueTrackerService