<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jira &#8211; CodePills.com</title>
	<atom:link href="https://codepills.com/tag/jira/feed/" rel="self" type="application/rss+xml" />
	<link>https://codepills.com</link>
	<description>Helping you make a better code</description>
	<lastBuildDate>Sun, 26 Jun 2022 21:34:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to connect Jira with IntelliJ IDEA</title>
		<link>https://codepills.com/how-to-connect-jira-with-intellij-idea/</link>
					<comments>https://codepills.com/how-to-connect-jira-with-intellij-idea/#comments</comments>
		
		<dc:creator><![CDATA[Andrej Buday]]></dc:creator>
		<pubDate>Tue, 09 Mar 2021 14:19:05 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[IntelliJ Idea]]></category>
		<category><![CDATA[Jira]]></category>
		<category><![CDATA[secure token]]></category>
		<guid isPermaLink="false">https://codepills.com/?p=1152</guid>

					<description><![CDATA[This tutorial will show you how to connect your IntelliJ IDEA with the Jira ticketing system. <a href="https://codepills.com/how-to-connect-jira-with-intellij-idea/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>For ease of development, we can connect the IntelliJ IDE with the Jira ticket service.</p>
<p><span id="more-1152"></span></p>
<p>We will need two different components to interconnect IntelliJ with Jira successfully. First, we will need to create an API token in Jira. Consequently, we need to interconnect IntelliJ IDEA with Jira.</p>
<h2>Jira API token creation</h2>
<p>We need to generate the API token in Jira, which will secure communication between IntelliJ and Jira.</p>
<p>1. In Jira, go to your profile and go to the option to change your password. This link should move you to Jira Security Profile at <a title="Jira profile security" href="https://id.atlassian.com/manage-profile/security" target="_blank" rel="nofollow noopener">https://id.atlassian.com/manage-profile/security</a> link.</p>
<p>2. Click on the <i>Create and manage API tokens</i> link from the API token section.</p>
<p><img fetchpriority="high" decoding="async" class="size-full wp-image-1155 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/jira_security_profile.png" alt="Jira security profile" width="953" height="1012" srcset="https://codepills.com/wp-content/uploads/2021/03/jira_security_profile.png 953w, https://codepills.com/wp-content/uploads/2021/03/jira_security_profile-283x300.png 283w, https://codepills.com/wp-content/uploads/2021/03/jira_security_profile-768x816.png 768w" sizes="(max-width: 953px) 100vw, 953px" /></p>
<p>3. Here at the page <a title="Jira security API tokens page" href="https://id.atlassian.com/manage-profile/security/api-tokens" target="_blank" rel="nofollow noopener">https://id.atlassian.com/manage-profile/security/api-tokens</a> we can create API tokens.</p>
<p><img decoding="async" class="size-full wp-image-1156" src="https://codepills.com/wp-content/uploads/2021/03/jira_api_tokens.png" alt="Jira API tokens page" width="948" height="385" srcset="https://codepills.com/wp-content/uploads/2021/03/jira_api_tokens.png 948w, https://codepills.com/wp-content/uploads/2021/03/jira_api_tokens-300x122.png 300w, https://codepills.com/wp-content/uploads/2021/03/jira_api_tokens-768x312.png 768w" sizes="(max-width: 948px) 100vw, 948px" /></p>
<p>Go to blue <i>Create new token</i> bottom and click it.</p>
<p>4. New pop-up window will show up. Type a rememberable name for the token into the input field.</p>
<p><img decoding="async" class="size-full wp-image-1158 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/token_for_intellij_name.png" alt="Jita API token for IntelliJ name" width="412" height="274" srcset="https://codepills.com/wp-content/uploads/2021/03/token_for_intellij_name.png 412w, https://codepills.com/wp-content/uploads/2021/03/token_for_intellij_name-300x200.png 300w" sizes="(max-width: 412px) 100vw, 412px" /></p>
<p>Hit <i>Create</i> button. A new API token will be generated (You should also get an email notification). You can see token plaintext when clicking on the icon of an eye in the field.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1157 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/new_api_token.png" alt="Jira new API token" width="412" height="276" srcset="https://codepills.com/wp-content/uploads/2021/03/new_api_token.png 412w, https://codepills.com/wp-content/uploads/2021/03/new_api_token-300x201.png 300w" sizes="(max-width: 412px) 100vw, 412px" /></p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1159 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/new_token_plaintext.png" alt="New token plaintext" width="411" height="272" srcset="https://codepills.com/wp-content/uploads/2021/03/new_token_plaintext.png 411w, https://codepills.com/wp-content/uploads/2021/03/new_token_plaintext-300x199.png 300w" sizes="(max-width: 411px) 100vw, 411px" /></p>
<p><b>Copy the token to some save location</b>. You will need it later.</p>
<p><b>Be aware that if you close the window, the token will be lost, and it will be not possible to see it again.</b></p>
<p><b>Note</b>: If you made a mistake and want to display the token again, it is not possible. Instead, you need to create a new token and go through the procedure of the new token generation again.</p>
<p>Remove the invalid token from the token list by clicking on <i>Revoke</i> bottom for individual token.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1153 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/revoke_api_token.png" alt="Revoke API token" width="412" height="225" srcset="https://codepills.com/wp-content/uploads/2021/03/revoke_api_token.png 412w, https://codepills.com/wp-content/uploads/2021/03/revoke_api_token-300x164.png 300w" sizes="(max-width: 412px) 100vw, 412px" /></p>
<p>Revoke API token pop-up window will close, and after successful removal, a new pop-up Notification will show in Jira to display successful removal.</p>
<h2>Connecting IntelliJ IDEA with Jira</h2>
<p>1. Open your desired project in <strong>IntelliJ IDEA</strong>.</p>
<p>2. Go to IntelliJ IDEA settings (<i>Ctrl</i> + <i>Alt</i> + <i>S</i>) and under <i>Tools</i> &gt; <i>Task</i> &gt; <i>Servers</i> add new Jira configuration. New Jira configuration is possible to add by hitting a <b>+</b> (plus sign) in the bottom left corner of Configurated servers list. Select <strong>JIRA</strong> option.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1160 aligncenter" src="https://codepills.com/wp-content/uploads/2021/03/adding_jira_in_intellij.png" alt="Adding Jira in Intellij" width="220" height="462" srcset="https://codepills.com/wp-content/uploads/2021/03/adding_jira_in_intellij.png 220w, https://codepills.com/wp-content/uploads/2021/03/adding_jira_in_intellij-143x300.png 143w" sizes="(max-width: 220px) 100vw, 220px" /></p>
<p>3. Add the following information to the Jira server settings:</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1161" src="https://codepills.com/wp-content/uploads/2021/03/intellij_jira_integration.png" alt="Intellij Jira integration" width="998" height="722" srcset="https://codepills.com/wp-content/uploads/2021/03/intellij_jira_integration.png 998w, https://codepills.com/wp-content/uploads/2021/03/intellij_jira_integration-300x217.png 300w, https://codepills.com/wp-content/uploads/2021/03/intellij_jira_integration-768x556.png 768w" sizes="(max-width: 998px) 100vw, 998px" /></p>
<p><b>Server URL</b> &#8211; URL of your Jira</p>
<p><b>Email</b> &#8211; Add your Jira account email</p>
<p><b>API token</b> &#8211; Provide API token generated in Jira.</p>
<p><b>Search</b> &#8211; <code>assignee = currentUser() and project = XXXX and resolution = Unresolved order by updated.</code></p>
<p>The code in the search input field will give you your most recent task assigned to you at the top of the menu.</p>
<p><b>Test</b> your connection with Jira with the <i>Test</i> button.</p>
<p>If your connection to the Jira server was successful hit <b>Apply</b> and <b>OK</b> and close the <i>Settings</i> window. Now you can go into the right corner of the IntelliJ window, and you should see a drop-down menu showing you all connected tasks with Jira.</p>
<h2>Checking out a new task</h2>
<p>When checking out a new task, we can create immediately a new branch on which the task will be built.</p>
<p>Go to section Tasks and set up the settings according to the image below.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1154" src="https://codepills.com/wp-content/uploads/2021/03/intellij_tasks_option.png" alt="IntelliJ IDEA tasks option" width="1000" height="720" srcset="https://codepills.com/wp-content/uploads/2021/03/intellij_tasks_option.png 1000w, https://codepills.com/wp-content/uploads/2021/03/intellij_tasks_option-300x216.png 300w, https://codepills.com/wp-content/uploads/2021/03/intellij_tasks_option-768x553.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
<p>Changelist name format: <code>${id} ${summary}</code></p>
<p>Feature branch name format: <code>feature/${id} ${summary}</code></p>
<p>Settings like the picture above will secure that a new feature branch will be created when we check out a new task in the IntelliJ IDEA window.</p>
<h2>Conclusion</h2>
<p>In this short tutorial, we followed the steps to interconnect IntelliJ IDEA with your Jira account. One of the most critical parts is to keep the Jira API token. If you consider using them in other projects, keep the token in a separate secured file. Otherwise, do not be afraid to revoke tokens, if necessary, and create a new one.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codepills.com/how-to-connect-jira-with-intellij-idea/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
