mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Actions UI] Fixed Jira Api token label. (#107776)
* [Actions UI] Fixed Jira Api token label. * fixed tests * fixed username Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e89d069f09
commit
538a6d9288
3 changed files with 7 additions and 7 deletions
|
@ -16,8 +16,8 @@ Jira connectors have the following configuration properties.
|
|||
Name:: The name of the connector. The name is used to identify a connector in the **Stack Management** UI connector listing, and in the connector list when configuring an action.
|
||||
URL:: Jira instance URL.
|
||||
Project key:: Jira project key.
|
||||
Email (or username):: The account email (or username) for HTTP Basic authentication.
|
||||
API token (or password):: Jira API authentication token (or password) for HTTP Basic authentication.
|
||||
Email:: The account email for HTTP Basic authentication.
|
||||
API token:: Jira API authentication token for HTTP Basic authentication.
|
||||
|
||||
[float]
|
||||
[[jira-connector-networking-configuration]]
|
||||
|
|
|
@ -81,7 +81,7 @@ describe('jira connector validation', () => {
|
|||
},
|
||||
secrets: {
|
||||
errors: {
|
||||
apiToken: ['API token or password is required'],
|
||||
apiToken: ['API token is required'],
|
||||
email: [],
|
||||
},
|
||||
},
|
||||
|
|
|
@ -67,28 +67,28 @@ export const JIRA_REENTER_VALUES_LABEL = i18n.translate(
|
|||
export const JIRA_EMAIL_LABEL = i18n.translate(
|
||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.emailTextFieldLabel',
|
||||
{
|
||||
defaultMessage: 'Username or email address',
|
||||
defaultMessage: 'Email address',
|
||||
}
|
||||
);
|
||||
|
||||
export const JIRA_EMAIL_REQUIRED = i18n.translate(
|
||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.requiredEmailTextField',
|
||||
{
|
||||
defaultMessage: 'Username or email address is required',
|
||||
defaultMessage: 'Email address is required',
|
||||
}
|
||||
);
|
||||
|
||||
export const JIRA_API_TOKEN_LABEL = i18n.translate(
|
||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.apiTokenTextFieldLabel',
|
||||
{
|
||||
defaultMessage: 'API token or password',
|
||||
defaultMessage: 'API token',
|
||||
}
|
||||
);
|
||||
|
||||
export const JIRA_API_TOKEN_REQUIRED = i18n.translate(
|
||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.requiredApiTokenTextField',
|
||||
{
|
||||
defaultMessage: 'API token or password is required',
|
||||
defaultMessage: 'API token is required',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue