mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
* [Actions UI] Fixed Jira Api token label. * fixed tests * fixed username Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
53d608b62d
commit
d08b49f313
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.
|
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.
|
URL:: Jira instance URL.
|
||||||
Project key:: Jira project key.
|
Project key:: Jira project key.
|
||||||
Email (or username):: The account email (or username) for HTTP Basic authentication.
|
Email:: The account email for HTTP Basic authentication.
|
||||||
API token (or password):: Jira API authentication token (or password) for HTTP Basic authentication.
|
API token:: Jira API authentication token for HTTP Basic authentication.
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
[[jira-connector-networking-configuration]]
|
[[jira-connector-networking-configuration]]
|
||||||
|
|
|
@ -81,7 +81,7 @@ describe('jira connector validation', () => {
|
||||||
},
|
},
|
||||||
secrets: {
|
secrets: {
|
||||||
errors: {
|
errors: {
|
||||||
apiToken: ['API token or password is required'],
|
apiToken: ['API token is required'],
|
||||||
email: [],
|
email: [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -67,28 +67,28 @@ export const JIRA_REENTER_VALUES_LABEL = i18n.translate(
|
||||||
export const JIRA_EMAIL_LABEL = i18n.translate(
|
export const JIRA_EMAIL_LABEL = i18n.translate(
|
||||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.emailTextFieldLabel',
|
'xpack.triggersActionsUI.components.builtinActionTypes.jira.emailTextFieldLabel',
|
||||||
{
|
{
|
||||||
defaultMessage: 'Username or email address',
|
defaultMessage: 'Email address',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
export const JIRA_EMAIL_REQUIRED = i18n.translate(
|
export const JIRA_EMAIL_REQUIRED = i18n.translate(
|
||||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.requiredEmailTextField',
|
'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(
|
export const JIRA_API_TOKEN_LABEL = i18n.translate(
|
||||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.apiTokenTextFieldLabel',
|
'xpack.triggersActionsUI.components.builtinActionTypes.jira.apiTokenTextFieldLabel',
|
||||||
{
|
{
|
||||||
defaultMessage: 'API token or password',
|
defaultMessage: 'API token',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
export const JIRA_API_TOKEN_REQUIRED = i18n.translate(
|
export const JIRA_API_TOKEN_REQUIRED = i18n.translate(
|
||||||
'xpack.triggersActionsUI.components.builtinActionTypes.jira.requiredApiTokenTextField',
|
'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