Track Time spent in each label for Gitlab

Hi Team,

We are currently using Gitlab V15.2 Issues and We extract the Issues via a Tool called “Stitch” in our database for analytics & reporting.

We are trying to track time spent by Issues in each label and we are wondering if we achieve that either with Issue API or Stitch Data loader.

Any advise will be very helpful and thank you for your support.

Kind Regards,