Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

XSLX template to export issue links of a project


I'm writing an XLSX template to export the list of links of all issues of a project:

#{for n= JQLIssuesCount|clause= PROJECT=ProjectName AND IssueType=ParentIssueType ORDER BY CustomAttribute ASC}

  #{for i= JQLIssuesCount|clause= issue in linkedIssues(${JQLIssues[n].Key})}

  ${JQLIssues[i].Key}; ${JQLIssues[i].Status}; ${JQLIssues[i].K}; ${JQLIssues[n].CustomAttribute}




however the exported document contains only the links of the selected project.

Is the query wrong or missing something else ? 

How can i accomplish this query ?

Thanks in advance.


1 answer

Hi @rbk ,

If I'm understanding you correctly, then I think you might need ScriptRunner's linkedIssuesOf() JQL function. ie:

issueFunction in linkedIssuesOf("project = PKEY AND type = Story", "relates to")

Please, note that ScriptRunner is a third party app, so you might or might not count with it installed in your Jira instance.

If you'd like just to improve your search capabilities, I'd recommend JQL Booster Pack instead, as it counts with really cool JQL functions, which also includes the linkedIssuesOf() function.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events