-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][JIRA/DORA] Incident mapping #4217
Comments
Thanks @GSoul-hub , I agree that the definition of BUG/INCIDENT needs to be more flexible. I'll think about it. |
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
Any update? |
Hi @GSoul-hub , I'll give you an update by the end of this week. |
Hi @GSoul-hub , I haven't thought of a general solution for this. However, we started collecting Jira issue labels in v0.16, which will be released soon. This version brings a workaround for you by changing the SQL in the DORA dashboard. Please see the following steps:
You can update it based on your own definition of
I hope it helps. |
Hi @Startrekzky , Will try, waiting for the release of v0.16. |
Hi @GSoul-hub , the beta version of v0.16.0 is coming out. You can try it out. |
Hi @Startrekzky.
but I faced another problem - any panel related with deployments do not show any data (Gitlab). I looked through the queries (grafana->DORA) and database records and noticed that the queries expects the type to be "deployment".
in database records (in my case) this value is empty for production (do not know why) I tried to comment/delete this line in queries, but it fixed only "Monthly deployments" panel. Other panel still doesn't work. e.g. "Deployment Frequence" shows result as "Fewer than once per six months". |
Hey @GSoul-hub , where did you get the deployment data from? You have to configure the transformation rule to extract production values from your CI job titles via RegEx. This is a screenshot of the GitHub transformation page, I hope it makes sense. |
@Startrekzky my configuration looks like this: |
@GSoul-hub I see. |
I believe that the |
Guys (@Startrekzky , @klesh ), I confused a bit. In sum, our project has around ~17 jobs in the pipeline.
Production indicates - "deploy-production" What's wrong here? Job "deploy-production" - exist. |
Sorry @GSoul-hub , I made a mistake. Based on your job names, the
The two configurations extracted the values of fields |
@Startrekzky seems good now (at least in DB)! Thanks @klesh @Startrekzky! But DORA dashboard still shows "Deployment Frequency" as "Fewer than once per month" :/ Any ideas? Code:
|
Hi @GSoul-hub , these are the filters to query Based on your given screenshot of the DB, my guess is that many cicd_tasks(deployments) are filtered out by this condition
Maybe there aren't many cicd_tasks(deployments) in the project 'shipping-project-test' you selected in Grafana? |
@Startrekzky and look to the monthly deployments diagram (it shows some data): |
@abeizn can you take a look at the problem? |
@GSoul-hub |
@abeizn you are right! Just Median Time To Restore service showing different stuff - one show less than one hour, another shows 0. First one:
Another one (0 values):
|
Got it, I will close this issue, any other questions are welcome. |
Search before asking
Use case
As a QA lead, I want to be able to compare the Scrum team's efficiency using DORA.
Description
At the moment, devlake allows mapping only issue type (e.g. "Incident" maps to the "Bug" of JIRA issue type).
Our current configuration of JIRA:
"Bug sub-task" (a.k.a. Sprint bug) - a bug is caught during the testing of a new feature (sprint), we can clearly associate it with the feature, so we create it as a sub-task under the feature's main task.
"Bug" (a.k.a. Regression/Release bug) - a bug is caught during regression testing before release to a production environment. Since it is not unequivocally clear which feature influenced the appearance of this bug - it is registered as a separate issue (not a sub-task).
"Bug with JIRA label "production" - a bug is caught in the production environment (by the team, clients, or customers).
As I understand, DORA should include only "production bugs", but devlake configuration supports only issue type and can't be separated by labels. In our cases - regression and production issues will be treated as DORA incidents which will not be correct (shouldn't include regression bugs).
We have multiple teams in our company and as a result, changing/agreeing to the jira configuration setup is quite a long process (e.g. introducing separate issue type only for production bugs).
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: