• Products
  • Documentation
  • Resources

Create a chart

There are two ways to create a chart:

  • Use a template to create a pre-built chart.

  • Use the chart editor to create a custom chart.

To create a chart using either of these methods, start by doing either of the following:

  • Select Create > Chart from the global navigation.

  • Select Add chart from a dashboard’s sidebar.

Create a chart from a template

A chart template has predefined queries and transformation steps to help you get answers quickly.

Chart templates are only available for Atlassian Data Lake connections that include “All” data as the scope of data.

To create a chart from a template:

  1. Select Create > Chart from the global navigation or Add chart from a dashboard’s sidebar. A pop-up will appear.

  2. Select one of the templates from the left sidebar. You can filter by product or search for specific keywords in the chart titles and descriptions.

  3. Select Configure chart.

  4. Select an Atlassian data source to use to populate the chart’s data.

  5. Select the dashboard to place the chart on.

  6. Select how you want to filter the chart. Refer to the next section to learn more about how filters for chart templates work.

  7. Select Create chart.

You’ll then place your new chart (and controls, if any) on the selected dashboard. Once you’ve placed your chart, you can edit and customize it further to fit your needs.

Most templates have a section to configure filters for the chart. For each filter, you can choose to connect an existing control on the selected dashboard, create a new control of a recommended type, or not filter at all–but we think you’ll get the most value from the template if you use the filters. Learn more about controls.

If you have any existing controls on your dashboard that are set to automatically connect to new charts, they may connect to your chart and affect its results. After placing the chart on your dashboard, edit it to remove any unwanted query filters.


Create a custom chart

Create a chart from scratch to answer specific questions that our chart templates might not cover.

To create a custom chart:

  1. Select Create > Chart from the global navigation or Add chart from a dashboard’s sidebar. A pop-up will appear.

  2. Select Custom chart.

  3. Select Go to chart editor. This will take you to the chart editor. Learn more about the chart editor.

  4. From the chart editor:

    1. Query the data required for the chart using either visual mode or SQL mode.

    2. Transform the queried data using other Visual SQL steps. View the available Visual SQL steps.

    3. Customize your chart.

      1. Select a chart type.

      2. Select Chart settings () to modify the chart settings, which will vary based on the selected chart type.

  5. Select Save to dashboard to save the chart to a new or existing dashboard.

It’s not required to save your queries as a chart. Use the chart editor to run ad hoc queries too.

Chart example - Issues created per project

To help you get started, we’ll show you how to create a chart that shows the number of Jira issues created per project over the last three months.

  1. Follow the steps mentioned above to go to the chart editor.

  2. Select Visual for the type of query.

  3. Select the data source you want to query. For this example, we selected a data source called Atlassian data, which connects to the Atlassian Data Lake and lets us query our Jira data.

  4. Under the “Columns” section of your query, select Add column and add the following columns to the query with the recommended aggregations:

    1. Created at from the Issue table under “Jira family of products.” Select Month from the aggregation menu.

    2. Issue ID from the Issue table under “Jira family of products.” Select Count of unique from the aggregation menu.

    3. Name from the Project table under “Jira family of products.” Select Group from the aggregation menu.

  5. Optional: Select the column names in the result table and rename them. We renamed the Name column to Project name and the Count of unique Issue Issue ID to Issues created.

  6. Under the “Filters” section, select Add filter and add the following filter condition:

    1. Created at from the Issue table under “Jira family of products”

    2. last N interval

      1. Enter 3 for the number

      2. Select months for the interval.

  7. Optional: Increase the row limit of the query. We increased ours to 100,000.

  8. Select Run query.

By default, if you haven’t selected a specific chart type, Atlassian Analytics will automatically select a chart type based on the final shape of your data. We renamed our chart to Issues created per project, and this is how our final query, data, and chart looked:

The query used to create a bar chart that shows the number of Jira issues created per project from the last three months.

Additional Help