Getting linked issues from Jira with Python
<p>I try to get linked issues from Jira using Python. It seems to be tricky as number of linked issues in particular issue I am getting is correct but linked issues are not those I am expecting (veryfied with Jira web interface). They seem to be some other issues, even from different project.</p>

<p>My purpose here is to get all linked issues for each issue which has them and check if linked issues have particular status.</p>

<p>Here is what I do:</p>

<pre><code>results = jira.search_issues('here query')  
for issueId in results:
    issue = jira.issue(issueId)
    if (issue.fields.issuelinks): 
        for issueLinked in issue.fields.issuelinks:
            if(jira.issue(issueLinked).fields.status != "Done" and jira.issue(issueLinked).fields.status != "Closed"):
                print("id: ", jira.issue(issueLinked).id)
                print("key: ", jira.issue(issueLinked).key)
                print("status: ", jira.issue(issueLinked).fields.status)
                print("summary: ", jira.issue(issueLinked).fields.summary)
</code></pre>

<p>Did you perhaps experience similar problem? </p>