title: Find all duplicates for a particular issue
body: <p>I have an issue which has duplicates and "duplicate by" already linked to the issue. I am trying a jql query that will list all those duplicates. 
  Lets say the issue ID is "10000" and the duplicate issues are "20000" and "30000". When I run the jql like this </p>
  
  <pre><code>key in (10000) AND (issue in hasLinks("duplicates") or issue in hasLinks("is duplicated by")) 
  </code></pre>
  
  <p>I get the result set that shows me only 10000. How can I modify my jql to give me 20000 and 30000 in the result set.</p>