[Jira] Update label for Jira cloud configuration (#186877)

## Summary

Add tooltip and update the label for the Jira cloud configuration.

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Artem Shelkovnikov <artem.shelkovnikov@elastic.co>
Co-authored-by: Artem Shelkovnikov <lavatroublebubble@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
moxarth-elastic 2024-06-27 20:26:22 +05:30 committed by GitHub
parent 5fae8d7359
commit 1e4dba7636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1861,14 +1861,20 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
],
display: DisplayType.TEXTBOX,
label: i18n.translate('searchConnectors.nativeConnectors.jira.cloudServiceAccountLabel', {
defaultMessage: 'Jira Cloud service account id',
defaultMessage: 'Jira Cloud email address',
}),
options: [],
order: 6,
placeholder: 'me@example.com',
required: true,
sensitive: false,
tooltip: null,
tooltip: i18n.translate(
'searchConnectors.nativeConnectors.jira.cloudServiceAccountTooltip',
{
defaultMessage:
'Email address associated with Jira Cloud account. E.g. jane.doe@gmail.com',
}
),
type: FieldType.STRING,
ui_restrictions: [],
validations: [],