Saturday, October 17, 2020

Link Jira Issues with Azure DevOps Deployment

In the previous post we have discussed how to create a service connection between Jira and Azure DevOps. Since, project management tasks and deployment done using two different tools, It is very useful to have a link between the tools to easily track the deployment progress of the each process explain in Jira issue. This post explains how to link Jira work items and Azure DevOps deployment pipeline.

Pre requites:

  1.  Azure DevOps Repo with a code sample.
  2.  Azure DevOps continuous integration and deployment pipelines to deploy code changes to target platform.
  • Open Azure DevOps deployment pipeline in the edit mode.
  • Go to integration section in options section of the Azure DevOps deployment pipeline. 




1- Select "Report deployment status to Jira" check box and select the service connection from the drop down.

2 - You can select which  pipeline stages need to be linked with with Jira issues.

  • Now go to Azure DevOps team project and do a code change.
  • Once code ready to commit, commit the changes to repo. When you commit your changes to repo, any meaningful comment can be added as commit comment. But, to link deployment pipeline and the Jira issue, we need to add Jira Issue id as the commit comment.

  • Once committed the code to the repo, since, continuous integration and deployment enabled, build and deployment pipelines will be triggered automatically.
  • Once completed the deployment open the completed deployment pipeline and move to work items.



  • As shown in the above image, you can find all the Jira Issue link with this deployment. If you click on the Jira issues in the list, it will open the relevant  Jira Issue .



  • You would be able to see new section called RELEASES added to the Jira issue with the value of deployment type which we selected in Azure DevOps deployment pipeline.
  • Click on the RELEASES of the Jira issue to move to detail view of the deployment. In this window you can find Azure DevOps deployment pipeline name and other basic information of the deployment. You can easily move to relevant Azure DevOps deployment from this window.



We have discussed how to integrate Azure DevOps deployment pipeline and the Jira issue with each other . It will help team members to maintain task board and deployments in the two different tools while having links to track the task progress.

No comments:

Post a Comment