Your first stop for learning how to get started with Jira Service Management.
Deployment tracking lets you automatically create or update a change request from any stage in your Jenkins pipeline. Use deployment tracking if approval from stakeholders isn’t required before changes occur. If you need approval from stakeholders, use deployment gating.
To use deployment tracking with Jenkins:
Go to your Jenkinsfile.
Find the stage in your pipeline where you would like to notify Jira.
Add a sendJiraDeploymentInfo block to the stage steps replacing your Jira site name, environment ID, environment type and service ID(s) you copied from your project.
Full Jenkinsfile example
Notify Jira when the deployment to production starts and again when the deployment finishes.