<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>jira on The Cloud Hub</title>
    <link>https://thecloudhub.com/tag/jira/</link>
    <description>Recent content in jira on The Cloud Hub</description>
    <generator>Hugo -- 0.118.2</generator>
    <language>en-au</language>
    <lastBuildDate>Sun, 28 Jul 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://thecloudhub.com/tag/jira/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to link Azure DevOps with Jira</title>
      <link>https://thecloudhub.com/2019/07/28/how-to-link-azure-devops-with-jira/</link>
      <pubDate>Sun, 28 Jul 2019 00:00:00 +0000</pubDate>
      <guid>https://thecloudhub.com/2019/07/28/how-to-link-azure-devops-with-jira/</guid>
      <description>In this post, we&amp;rsquo;ll look at the official integration between Azure DevOps and Atlassian&amp;rsquo;s Jira software.
Love it or hate it, Jira is among other things one of the most widely used issue tracking tools, and in July 2019 Microsoft rolled out a new Jira app that can be used to sync issues between DevOps and Jira, enabling end to end traceability between both platforms from when an issue is reported to when a deployment is released fixing it.</description>
      <content:encoded><![CDATA[<p>In this post, we&rsquo;ll look at the official integration between <a href="https://dev.azure.com">Azure DevOps</a> and <a href="https://www.atlassian.com/software/jira">Atlassian&rsquo;s Jira software</a>.</p>
<p>Love it or hate it, Jira is among other things one of the most widely used issue tracking tools, and in July 2019 Microsoft <a href="https://marketplace.atlassian.com/apps/1220515/azure-pipelines-for-jira">rolled out a new Jira app</a> that can be used to sync issues between DevOps and Jira, enabling end to end traceability between both platforms from when an issue is reported to when a deployment is released fixing it.</p>
<p>There are a number of limitations. At present, the official plugin doesn&rsquo;t support DevOps repositories. Only GitHub repositories are supported, although Azure Repos support is planned soon. Build information also isn&rsquo;t available - the app will only show deployments made in the Jira issue.</p>
<p>The integration also doesn&rsquo;t change much from DevOps - there&rsquo;s no UI integrating with Jira reporting or issues, and you can&rsquo;t easily view a summary of Jira cards from pull requests commit messages.</p>
<p>That said, to get started, you&rsquo;ll need to:</p>
<ul>
<li>Be a Jira administrator, or have the ability to request a Jira app be installed within your organisation&rsquo;s Jira installation</li>
<li>Use Jira Cloud - on-premise installations aren&rsquo;t supported</li>
<li>Use GitHub for your source code</li>
</ul>
<p>It&rsquo;s also worth noting that for now this app only supports showing deployment traceability in Jira - other information such as build numbers or tasks will not show.</p>
<h2 id="getting-started">Getting started</h2>
<p>First you&rsquo;ll need to install the <a href="https://marketplace.atlassian.com/apps/1220515/azure-pipelines-for-jira">Azure Pipelines for Jira application</a>, available for free in the Atlassian marketplace.</p>
<p>Then, once you&rsquo;ve installed the app you&rsquo;ll be prompted to add your DevOps organisation. Click &ldquo;Add organisation&rdquo;, and you&rsquo;ll be prompted to enter your credentials. It should then list all your organisations in a table view.</p>
<h2 id="enabling-support-in-devops">Enabling support in DevOps</h2>
<p>Now we need to add the Jira integration to our DevOps release pipeline. Open <a href="https://dev.azure.com">the DevOps portal</a>, and navigate to your project and release pipeline.</p>
<p>Click &ldquo;Edit&rdquo; on the release pipeline you&rsquo;d like to integrate Jira with, and then click &ldquo;Options&rdquo;. Click &ldquo;Integrations&rdquo; and you&rsquo;ll see the option to &ldquo;Report deployment status to Jira&rdquo;.</p>
<p>Check the box, and you should see your Jira software cloud account listed from the previous step. If you don&rsquo;t see it, check your Jira account to make sure you&rsquo;ve added the organisation successfully in the DevOps app.</p>
<p>You&rsquo;ll also see the ability to map your stages to a set list of deployment types. These deployment types are set by Microsoft, and you&rsquo;ll have to pick from the list and match them as best you can to your stages. At present, there are 5 deployment types:</p>
<ul>
<li>Production</li>
<li>Staging</li>
<li>Testing</li>
<li>Development</li>
<li>Unmapped</li>
</ul>
<p>These deployment types then show in your Jira cards as commits which contain your story numbers move through your deployment process.</p>
<h2 id="referencing-jira-issues">Referencing Jira issues</h2>
<p>The app works by searching your commit history (both commit and pull request messages) for Jira issue keys. If you&rsquo;re not sure about how to find an issue key see <a href="https://confluence.atlassian.com/jirasoftwarecloud/working-with-issues-764478424.html#Workingwithissues-Projectandissuekeys">this article on Atlassian&rsquo;s website</a>.</p>
<p>To enable the linking, once you&rsquo;ve followed the above steps simply add the issue number into your commit messages when you write them. We tend to stick to the format &ldquo;[ISSUE-KEY] Fixed an issue with something&rdquo; as the short message title, but the exact format is up to you.</p>
<p>The app then searches your commit history and will automatically update the issue when you create and deploy a release in your pipelines. It&rsquo;s that simple.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
