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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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?

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

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
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,366 views 7 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you