title: Make Autotransition in Jira
body: <p><strong>PROBLEM</strong>: There are two Jira projects: A &amp; B. When project A transitions, project B should as well. Issues from projects A &amp; B are linked.</p>
  
  <p><strong>RESEARCH</strong>: There is an <a href="https://ilaesolution.atlassian.net/wiki/spaces/IU/pages/19431440/Jira+ILA+Utilities+REST+APIs" rel="nofollow noreferrer">ILA plugin for Jira</a> and in its Update Status Transition you can select issues with JQL and set their statuses.</p>
  
  <p><a href="https://i.stack.imgur.com/Uo1Wm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uo1Wm.png" alt="http://i.imgur.com/CnmLHi5.png"></a></p>
  
  <p>I've conducted a JQL, but it is related to current issue, and I need it is a variable which is unavailable (find issues of project A, linked to issue B-3 from project B):</p>
  
  <pre><code>project = "A" AND issue IN LinkedIssuesByJQL("issue = B-3")
  </code></pre>
  
  <p><strong>QUESTION</strong>: How to refer to a variable like <code>$currentIssue</code>? Any other free plugins? Maybe using Jira API?</p>