# How to chart user activity

A customer asked how to see a report of the number of tickets each user has created.

This can be done by combining Parameter Values with Azure DevOps Queries:

<figure><img src="/files/Rk4n6CwziniOS3RZ4Zr7" alt="" width="563"><figcaption></figcaption></figure>

There are four steps to take:

1. In DevOps, create a custom field called *TicketLog Creator* (or similar). Make sure this is added to the workitem type of your service desk's target project.
2. In TicketLog, configure each form in the service desk to have the custom field set to a [parameter value](/documentation/administrators-guide/forms-and-fields.md#parameter-values). Select *Username* or *User email*.&#x20;
3. In DevOps, create a new Query that selects the workitem types you want in your report. Make sure to add the custom field to the columns of the query, and any filters you'd like.
4. Select the Charts tab in the query and add a chart. Select your custom field as the Group by field. Save the chart and check it works as expected.

Additionally, if you'd like the chart to appear on a dashboard, add the 'Chart for Work Items' widget to the dashboard and configure the same way.

{% hint style="info" %}
To use queries on a dashboar widget, you must move the query to Shared Queries.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ticket-log.com/guides/how-to-chart-user-activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
