Hello,
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}
#{end}
#{end}
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.