Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,558,121
Community Members
 
Community Events
184
Community Groups

XSLX template to export issue links of a project

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.

 

1 answer

1 vote
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2020 • edited

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
TAGS
AUG Leaders

Atlassian Community Events