Visit Config UI at: http://localhost:4000.
On the Connections page, you can select Jira and create a new connection or it.
Give your connection a unique name to help you identify it in the future.
Please note: the following configuration for the endpoint and authentication for your Jira connection depends on your Jira version, Jira Cloud or Server/Data Center.
This should be a valid REST API endpoint: https://<mydomain>.atlassian.net/rest/
Please note: the endpoint url should end with /.
Please enter the e-mail of your Jira account.
Learn about how to create an API token.
Please note: Jira API token and Personal Access Token are two different tokens.
This should be a valid REST API endpoint: https://jira.<mydomain>.com/rest/
Please note: the endpoint url should end with /.
Jira Server supports two ways of authentication: using basic authentication or Personal Access Token.
Please enter the username of your Jira account.
Please enter the password of your Jira account.
Learn about how to create a Personal Access Token.
For both Jira Cloud and Jira Server, when accessing Jira API, users may encounter access restrictions if their token does not have sufficient permissions. This is typically caused by insufficient scope or role settings for the Jira token.
To solve this issue, users can take the following steps:
Users can confirm whether they have sufficient permissions by checking their permissions in Jira. For Cloud users, they can view their global and project permissions through the “Permissions” tab on the “Profile” page. For Server users, they can log in to Jira as an administrator and view user permissions on the “User Management” page.
Before using the Jira API, users need to ensure that their account has at least the necessary project or global permissions. Global permissions include various Jira system settings and management operations, while project permissions control specific operations and configurations for each Jira project. Users can assign roles such as Project Administrator, Project Lead, Developer, etc. for the corresponding projects, or assign global permissions such as Jira Administrators, Jira Software Administrators, etc. It is recommended to minimize the permissions granted to the API to ensure system security.
To solve access restrictions caused by insufficient Jira token permissions, users should check the token's permission settings to ensure the correct scope and role are set. If the permission settings are correct but the required API is still inaccessible, consider using other authentication methods, such as authenticating with a username and password. If the issue persists, contact the Jira administrator for further assistance.
If you are behind a corporate firewall or VPN you may need to utilize a proxy server. Enter a valid proxy server address on your network, e.g. http://your-proxy-server.com:1080
DevLake uses a dynamic rate limit to collect Jira data. You can adjust the rate limit if you want to increase or lower the speed. If you encounter a 403 error during data collection, please lower the rate limit.
Jira(Cloud) uses a dynamic rate limit and has no clear rate limit. For Jira Server's rate limiting, please contact your Jira Server admin to get or set the maximum rate limit of your Jira instance. Please do not use a rate that exceeds this number.
Click Test Connection, if the connection is successful, click Save Connection to add the connection.
Choose the Jira boards to collect.
Scope config contains two parts:
Although this configuration is optional, some of the above transformations are required to measure metrics such as Requirement Lead Time, Bug Age or DORA - Median Time to Restore Service in the built-in Grafana dashboards.
Without adding transformation rules, you can not view all charts in “Jira” or “Engineering Throughput and Cycle Time” dashboards.
Each Jira board has at most ONE set of transformations.
issues and commits can be created. You can directly use the regular expression /commit/([0-9a-f]{40})$.Collecing Jira data reuiqres creating a project first. You can visit the Project page from the side menu and create a new project by following the instructions on the user interface.
You can add a previously configured Jira connection to the project and select the boards for which you wish to collect the data for. Please note: if you don't see the boards you are looking for, please check if you have added them to the connection first.
There are three settings for Sync Policy:
Click on “Collect Data” to start collecting data for the whole project. You can check the status in the Status tab on the same page.
If you run into any problem, please check the Troubleshooting or create an issue