Enhance Jenkins DORA Metrics

Job ID: 40032224

Budget: ₹600 – ₹1,500 INR

I already capture deployment frequency through an existing DORA integration inside a Jenkins pipeline, but I now need the script refined so the remaining three key metrics are gathered automatically.

1. JIRA component tracking
– Introduce a new JIRA component parameter and refactor any existing parameter blocks so the pipeline can calculate mean lead-time for changes and mean time to recovery, grouped by component.
– The job should push this enriched data back to the same DORA dashboard we use today.

2. Opsgenie for change-failure rate
– Wire Opsgenie into the same pipeline so every failed change is logged and the change-failure rate surfaces beside the other metrics.
– Handle authentication and mapping between build IDs and Opsgenie incidents within the script.

I need updated, well-commented Jenkinsfile/Groovy code plus any helper scripts or API calls, ready to drop into the current job. The work is considered complete when a sample run shows all four DORA metrics (deployment frequency, lead time, MTTR, change-failure rate) appearing with correct values for a JIRA component.