Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Connectors][Case Management] Edit labels, automate screenshots #172610

Merged
merged 17 commits into from
Jan 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[DOCS] Automate new cases-webhook-connector-get-case.png
  • Loading branch information
lcawl committed Dec 5, 2023
commit 8003c4f7ed26e97b73f89cdc02bb10d597e43eb2
13 changes: 11 additions & 2 deletions docs/management/connectors/action-types/cases-webhook.asciidoc
Original file line number Diff line number Diff line change
@@ -16,18 +16,27 @@ The {webhook-cm} connector uses https://github.com/axios/axios[axios] to send PO

You can create connectors in *{stack-manage-app} > {connectors-ui}*
or as needed when you're creating a rule.
The first step involves providing a name for the connector and its authentication details. For example:
In the first step, you must provide a name for the connector and its authentication details.
For example:

[role="screenshot"]
image::management/connectors/images/cases-webhook-connector.png[Set authentication details in the {webhook-cm} connector]
// NOTE: This is an autogenerated screenshot. Do not edit it directly.

Then you must provide information necessary to create a case in the external system. For example:
In the second step, you must provide the information necessary to create cases in the external system.
For example:

[role="screenshot"]
image::management/connectors/images/cases-webhook-connector-create-case.png[Set case management details in the {webhook-cm} connector]
// NOTE: This is an autogenerated screenshot. Do not edit it directly.

In the third step, you must provide information related to retrieving case details from the external system.
For example:

[role="screenshot"]
image::management/connectors/images/cases-webhook-connector-get-case.png[Set case management details in the {webhook-cm} connector]
// NOTE: This is an autogenerated screenshot. Do not edit it directly.

[float]
[[cases-webhook-connector-configuration]]
==== Connector configuration
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -50,6 +50,22 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
1920,
1400
);
await testSubjects.click('casesWebhookNext');
await testSubjects.setValue(
'getIncidentUrlInput',
'https://testing-jira.atlassian.net/rest/api/2/issue/{{{external.system.id}}}'
);
await testSubjects.setValue('getIncidentResponseExternalTitleKeyText', 'key');
await testSubjects.setValue(
'viewIncidentUrlInput',
'https://testing-jira.atlassian.net/rest/api/2/issue/{{{external.system.title}}}'
);
await commonScreenshots.takeScreenshot(
'cases-webhook-connector-get-case',
screenshotDirectories,
1920,
1400
);
await testSubjects.click('euiFlyoutCloseButton');
});
});