# list

The cldkctl ticket list command displays all tickets that have been created within your current project. This command allows you to view ticket details such as subject, priority, project, request type, site, creation date, and current status

## Usage

```
cldkctl ticket list [flags]
```

## Aliases

```
list, ls
```

## Steps

Follow the steps below to run and view the result of this command:

1. To view all tickets in your project, run:

```
./cldkctl ticket list
```

This command retrieves all tickets associated with your current project and displays them in a table format.

2. To list tickets based on their request type, use the --request\_type flag:

```
./cldkctl ticket list --request_type 
```

3. You can filter tickets by their status using the --status flag:

```
./cldkctl ticket list --status 
```

4. If there are many tickets, you can control how many are shown per page.

```
./cldkctl ticket list --limit  --page 
```

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FZVcfkUFjkpfn0h7V0Ra6%2Funknown.png?alt=media&#x26;token=aa43f36a-3b84-460a-a250-cb68646e09b6" alt=""><figcaption></figcaption></figure>

| Column       | Description                                                 |
| ------------ | ----------------------------------------------------------- |
| ID           | Unique identifier for each ticket.                          |
| Ticket ID    | The numeric reference number of the ticket.                 |
| Subject      | The title or summary of the issue or request.               |
| Priority     | The urgency level of the ticket (e.g., Minor, Critical).    |
| Project      | The project associated with the ticket.                     |
| Request Type | The type of ticket (Information Request or Problem Report). |
| Site         | The location or system where the issue occurred.            |
| Created Date | The date and time the ticket was created.                   |
| Rating       | User rating score for the resolved ticket (if any).         |
| Status       | The current ticket status (e.g., Open, Closed, Resolved).   |

## Flags

{% hint style="info" %}
This command supports[ global flags.](https://docs.cloudeka.ai/cloudeka-api-list/global-flags) Refer to the Global Flags section for details
{% endhint %}

| Flag                | Description                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| -h, --help          | Help for the ticket list subcommand.                                                                                      |
| -l, --limit string  | Number of items per page (default is 10).                                                                                 |
| -p, --page string   | Page number for pagination (default is 1).                                                                                |
| -t, --request\_type | Specify request type ID (1: Information Request, 2: Problem Report).                                                      |
| -s, --status string | Specify status ID (1: Assigned, 2: Close, 3: In Progress, 4: On Hold, 5: Open, 6: Rejected, 12: Resolved, 13: Cancelled). |
