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,455,550
Community Members
 
Community Events
175
Community Groups

How to display issue count in Xporter Report?

Hello,

I have modified the Xporter Traceability report to show only the Requirement issue types within a Version. That all works great, however the Issue totals is still showing the total issue count of the Version.  This info is coming from:

&{for issues|filter=%{${BulkIssueIndex} == 0}}
${BulkIssuesCount} Requirements Exported
&{end}

I'm trying to show the total issue count of just the Requirement IssueTypes.  I've tried:

${set(count,0)}
#{for issues}
#{if (%{'${IssueTypeName}'.equals('Requirement')})}
${set(count,%{${count} + 1})}
#{end}
#{end}

and then placed:

${Count} Requirements Exported

Anywhere I could think to put it, but the finalized report doesn't show the value for {Count}.

 

Any help with this?

 

1 answer

1 accepted

3 votes
Answer accepted
Florian Bonniec Community Leader Dec 05, 2022

Hi @Jeremy Jedlicka 

Does it display nothing or just 0 ?

 

This template works, you can adapt it for your use case.

 

&{for issues|filter=%{'${IssueTypeName}'.equals('Story')}}
#{if (%{${BulkIssueIndex} == 0})}
${set(count,0)}


#{end}


${Summary}

${set(count,%{${count} + 1})}


&{end}
${count}

 

Regards

@Florian Bonniec You're a rockstar.  Thanks a lot!

Suggest an answer

Log in or Sign up to answer