Web_api Technical debt measures

Hi,

couple of issues related to measures API:

  1. In the web UI I can see both debt and new debt values for our projects. Using API I can get new_technical_debt value, but technical_debt value returns “measures”: . Seems like a correct name for a measure in API but for some reason it does not return anything.

  2. Is there any way to understand the units of technical debt measures? It returns something like

     {
         "metric": "new_technical_debt",
         "periods": [
             {
                 "index": 1,
                 "value": "25",
                 "bestValue": false
             }
         ]
     }
    
  • ALM used: Bitbucket Cloud
  • CI system used: Bitbucket Cloud
  • Languages of the repositories: Kotlin, Swift

Any workarounds for these issues?

Welcome to the community!

Perhaps you are looking for our documentation page on Metric Definitions.

The key of the technical debt measure appears to be sqale_index. And I think the units for both of these metrics is minutes.

I hope this helps!
Janos

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.