Atlassian Jira plugin
For more information about what this plugin does and the data streams it retrieves, see:
Monitor the Projects, Releases and Issues from your Jira Software environment.
To add a data source click on the + next to Data Sources on the left-hand menu in SquaredUp. Search for the data source and click on it to open the Configure data source page.
Before you start
You will need a Jira API token. If you do not have one already a Jira admin can generate a new one here https://id.atlassian.com/manage-profile/security/api-tokens.
It is recommended to generate a specific API token for your SquaredUp instance, as if you ever need to revoke it you will not impact any other applications.
Detailed steps for API token management from Atlassian:
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account.
Only the Jira Cloud offering is supported by this data source.
Configuring the data source
Display Name:
Enter a name for your data source. This helps you to identify this data source in the list of your data sources.- Domain URL:
The domain for the Atlassian instance you wish to use, in the format:
https://your-domain.atlassian.net - User Email Address:
Enter the email address of the Atlassian account that generated the API token. - API Token:
Enter a current API token generated from the email address in the Before you start section.The same API token can be used for the Jira and Confluence data sources.
Restrict access to this data source:
You can enable this option if you only want certain users or groups to have access to the data source, or the permission to link it to new workspaces. See data source access control for more information.Install Sample Dashboards:
Select whether you would like to install sample dashboards with the data source. By default, this is set to on.Click Test and add to validate the data source configuration. SquaredUp will now attempt to connect to SquaredUp using the provided authentication method. If this process fails, see Testing and troubleshooting for assistance with the corresponding errors.
Testing and troubleshooting
When you select Test and update, SquaredUp will test that the email address and API token are both valid and return data from Jira.
The following errors or warnings may be displayed while using the data source. If you encounter an error, refer to the guidance below or contact [email protected] for assistance.
Next steps
Sample dashboards
When configuring the Azure DevOps data source, you have the option to Install sample dashboards. This is recommended as these dashboards provide a great starting point to understand how you can visualise your data. The following dashboards are included with the Jira data source:
Project summary:
This dashboard is designed to display high level project metrics that will give you insight across your Jira instance. Active releases and Release completion progress use the Release Overview data stream, you can fine tune the information displayed by editing the tile and selecting the projects you are most interested in under the Objects tab.
The remaining tiles return data on issues across all projects by default. These can be edited as described above or you can change the timeframe
at the top of the dashboard to a different window of time.
Lead time for closing features is a tile that calculates the average time it takes a Jira story to be resolved for all features closed within the current timeframe
. This is a commonly used DORA metric for helping to show the efficiency of a team or department.
Defect ratio is a tile that calculates the ratio (0 – 1.0) of bugs fixed vs the total number of issues closed. This is a metric used to help show the impact of code quality on a project, the higher the number the more disruption there is in releasing new features. The tile makes use of our SQL analytics feature to do the calculation. You can fine tune this tile by changing the JQL in the Parameters tab of dataset1
.
Bug analysis:
This dashboard provides several different ways of analysing the bugs in your projects. The data shown in these tiles can be adjusted by changing the timeframe at the top of the dashboard to a different window of time or by editing the individual tile and adjusting the JQL that is in the Parameters tab.
The value {{timeframe.startTime}}
in the JQL is how the tile knows to use the timeframe at the top of the dashboard, however any date value that Jira would expect can be used instead. For example, currently the tile contains the following JQL:
type in (bug) and created > "{{timeframe.startTime}}"
but could be updated to:
type in (bug) and created > startofday(-30)
Mean time to close calculates the average time it takes for a high priority bug to be closed. By editing the JQL and setting the priority to your highest priority, that you use for incidents or outages, then you can create the DORA metric for MTTR (mean time to recover).
Bug backlog trend provides a line graph that shows the daily increase or decrease of open bugs. This trend is helpful in showing whether your overall count of bugs is increasing. It can be tailored to suit your needs by editing the JQL in the Parameters tab to limit it to a specific project, priority or severity of bug.
Both dataset1
and dataset2
will need to be updated.
Summary of new bugs is a simple table of newly raised bugs ordered by priority. It makes use of the Columns tab to create a column of type State, this means specific values can be assigned to return a green, amber, red or grey health dot.
Objects Indexed
SquaredUp indexes objects it finds in your Jira instance during import. These objects are used to build dashboards and are visible when searching across SquaredUp. Drilling down into an object will display the available data streams and properties. Below are the objects types imported:
- Project
- Release
- Component
- Label
- Filter
- Issue Type
- Users
Data streams
The following data streams are installed with this plugin.
Data streams standardize data from all the different shapes and formats your tools use into a straightforward tabular format.
While creating a tile you can tweak data streams by grouping or aggregating specific columns.
Depending on the kind of data, SquaredUp will automatically suggest how to visualize the result, for example as a table or line graph.
Data streams can be either global or scoped:
- Global data streams are unscoped and return information of a general nature (e.g. "Get the current number of unused hosts").
- A scoped data stream gets information relevant to the specific set objects supplied in the tile scope (e.g. "Get the current session count for these hosts").
See Data Streams for more information.