Get started with Atlassian Analytics
Learn how to add Atlassian Analytics to a site and understand what you need to query data and create charts.
Your organization admin must activate Atlassian Intelligence to use this feature. Read more about Atlassian Intelligence and how to activate it in your organization.
Custom formulas use SQLite syntax and allow you to perform basic calculations or apply one or more functions to your data. You can either manually write your own custom formulas or use AI to write your SQLite expressions to help you speed up your chart editing process.
Just like with manually written custom formulas, AI-generated custom formulas only affect the values of one column at a time. However, you can reference multiple columns in a single custom formula to form the SQLite expression (for example, "Column A" + "Column B").
AI custom formulas can’t filter or rename columns or perform row-level actions. You’ll need to use the appropriate Visual SQL steps for these transformations.
To use AI for writing a custom formula:
Add a Formula column step or Apply formula step.
Select Custom as the formula type.
Toggle on AI.
Use natural language to describe the calculations or functions you want to apply to your data.
Select Submit.
A “Formula column” step with the generated SQLite expression will be added to your Visual SQL steps. When you edit the step, you can either edit your prompt or toggle to SQLite to edit the generated SQLite expression.
We don’t save your natural language prompt outside of the session that you create it. In other words, if you save your changes to the dashboard and then edit the step again later, only the SQLite expression will be available.
Here are some example prompts you can provide to AI. Column names are wrapped in double quotes, and static string values are wrapped in single quotes.
Return the first 10 characters of "Column"
Convert "Column" to a number data type
The difference in days between "Created at" and "Resolution at"
Change "Original time estimate (seconds)" to hours
Change the format of "Date column" to MM-YYYY
Round "Column" to 2 decimal places
If "Column" contains 'XYZ' then use 'this value' otherwise use 'backup value'
Was this helpful?