title: Need to get issuelinks types with Jira python
body: <p>I am writing a script with Jira python and I have encountered a big obstacle here.</p>
  
  <p>I need to access to one of the issuelinks under "is duplicated by" but I don't have any idea about the attributes I can use.</p>
  
  <p>I can get to the issuelinks field but I can't go further from here.</p>
  
  <p>This is I've got so far:</p>
  
  <pre><code>issue = jira.issue(ISSUE_NUM) #this is the issue I am handling
  
  link = issue.fields.issuelinks # I 've accessed to the issuelinks field
  
  if hasattr(link, "inwardIssue"):
  
      inwardIssue = link.inwardIssue
  </code></pre>
  
  <p>and I want to do this from here :</p>
  
  <pre><code>if(str(inwardIssue.type(?)) == "is duplicated by"):
  </code></pre>
  
  <p>inward Issues can be </p>
  
  <ul>
  <li><p>is cloned by</p></li>
  <li><p>is duplicated by </p></li>
  </ul>
  
  <p>and so on.</p>
  
  <p>how can I get the type of inward Issues??</p>