> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/bmc-footprints/create-ticket-on-bmc-footprints.md).

# Create Ticket on BMC FootPrints

Creates a single BMC FootPrints ticket for the whole run. The ticket carries the fields you configure and a text table of every matched asset. To create one ticket for each asset, use [Create Ticket per Asset on BMC FootPrints](broken://pages/cbf07f2950256c62248f0256c1432c6e5e1029c7).

### Before you begin

* A BMC FootPrints account that uses FootPrints internal authentication. LDAP, AD and SSO accounts cannot use the web services API.
* Web Services enabled system-wide and for the role of that account (FootPrints answers 403 otherwise).
* Connection values can be saved once as defaults. See [Action Center Settings](broken://pages/8daaff23fb0e54786a34d37a83aef576876fb40e), group **BMC FootPrints**, one tab per job.
* Accepted asset types: device, user, application, vulnerability, certificate, service, source\_code, ai, domain, license.
* Required columns: none. The columns you select for each asset type in the workflow are what appear in the asset table.

### Settings

| Setting               | Type               | Required | Default                                                          | Description                                                                                                                                                         |
| --------------------- | ------------------ | -------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                | Text               | Yes      | None                                                             | FootPrints server address with the scheme and the web services port, for example `http://footprints.example.com:8080`. https is assumed when the scheme is omitted. |
| API Path              | Text               | No       | `/footprints/servicedesk/externalapisoap/ExternalApiServicePort` | Path of the External API SOAP endpoint. Change it only if your instance is not under `/servicedesk/`.                                                               |
| Username              | Text               | Yes      | None                                                             | A FootPrints internal authentication account.                                                                                                                       |
| Password              | Text (sensitive)   | Yes      | None                                                             | Password of that account. Masked after saving.                                                                                                                      |
| Submitter             | Text               | No       | None                                                             | FootPrints user recorded as the submitter of the created records. Leave empty to omit.                                                                              |
| Timeout               | Integer            | No       | 30                                                               | Timeout for FootPrints API requests, in seconds.                                                                                                                    |
| Description Field     | Text               | No       | `Description`                                                    | External name of the field that receives the generated asset table. Leave empty to skip the table.                                                                  |
| Assignees             | List               | No       | Empty                                                            | FootPrints agent usernames, for example `jsmith, mdoe`.                                                                                                             |
| Ticket Definition ID  | Integer            | Yes      | None                                                             | The workspace's ticket definition ID (minimum 1). The connection test lists the available definitions.                                                              |
| Ticket Fields         | Text (JSON object) | No       | `{}`                                                             | JSON mapping of FootPrints field names to values, for example `{"Title": "Assets missing EDR", "Status": "Open"}`. Fields set to null are skipped.                  |
| Quick Template ID     | Integer            | No       | None                                                             | Optional quick template to create the record from.                                                                                                                  |
| Contact Definition ID | Integer            | No       | None                                                             | Optional contact definition ID used to link a contact to the ticket.                                                                                                |
| Contact Primary Key   | Text               | No       | None                                                             | Primary key of the contact to link, usually the email address.                                                                                                      |

### How it works

The job sends one `createTicket` SOAP request to the FootPrints External API with the ticket definition, optional quick template, ticket fields, assignees, contact and submitter.

The description is a text table: the workflow description (or title) on the first line, then for each asset type a line `<type> count: N`, a comma-separated header of the workflow columns for that type and one row per asset, and finally the footer `Powered by OctoXLabs`. It is written into the field named in **Description Field**, replacing any value you set for that same field in the fields JSON.

Only asset types that have columns selected in the workflow are used. If no asset matched, the job logs a warning, creates nothing and finishes without an error.

Errors from FootPrints are raised with the `faultstring` it returns, and the job node fails. The ticket ID FootPrints returns is written to the job log.

The matched assets are passed unchanged to the next node.

### Example

```
Domain:                 http://footprints.example.com:8080
Username:               octo-service
Password:               YOUR_PASSWORD
Ticket Definition ID:   12
Ticket Fields:          {"Title": "Assets missing EDR", "Status": "Open"}
Assignees:              jsmith, mdoe
```

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/ede5975ebf0170cf441be827137f8087ba4c5e07">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/8daaff23fb0e54786a34d37a83aef576876fb40e">Broken link</a></td></tr><tr><td><strong>Create Ticket per Asset on BMC FootPrints</strong></td><td>One ticket for every matched asset.</td><td><a href="broken://pages/cbf07f2950256c62248f0256c1432c6e5e1029c7">Broken link</a></td></tr></tbody></table>
