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,552,672
Community Members
 
Community Events
184
Community Groups

Display count of Jira issues without suffix "issues" in confluence page

I have a confluence page in which I want to fill count of issues based on my pre-defined Jira queries using Jira Issues Macro (via JQL). The returned value is always having a suffix “issues”. How to get only he number without the suffix?

My query is related to the Jira Macro page https://confluence.atlassian.com/doc/jira-issues-macro-139380.html

 

2 answers

1 accepted

2 votes
Answer accepted
Natalie Paramonova [Stiltsoft]
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.
Aug 16, 2021

Hi @Arvind Sinha ,

If you insert the issue count option in a table cell, You can remove the word 'issues' with the help of the Table Transformer macro (the Table Filter and Charts for Confluence app).

Please find the detailed instructions in the answers to this question.

Hello @Natalie Paramonova [Stiltsoft] ,

Thank you so much for this help. It works.

However, with this the clickable links with the numbers are also removed, so we can't go to the list of filtered jira issue by clicking the numbers. Is there any way to achieve that as well?

Natalie Paramonova [Stiltsoft]
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.
Sep 28, 2021

Hello @Arvind Sinha ,

You can apply the following query to preserve Jira filter links:

 

SELECT T1.'Date',
FORMATWIKI( "["+(T1.'Count'->split(" issues")->0::number) +"|" +
T1.'Count'->tfView->match("href=([^ >]*)")->1->slice(1, -1)
+ "]"
) AS 'Count'
FROM T*

 

Screenshot 2021-09-28 at 17.18.00.png

Behckam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 08, 2023 • edited

 

 

0 votes
Amith Mathur _Appfire_
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.
Oct 14, 2019 • edited

Hi @Arvind Sinha , 

Welcome to the Atlassian Community. If you are referring to "issues" which is displaying the issue count on a Confluence page, "100 issues", then it is the default one and it cannot be removed.

Thanks,

Amith Mathur

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events