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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

How to show Jira issue/filter last X number of comments

Hi all


I am new to using Confluence. In one of my confluence page, I have inserted a Macro > Jira issue/filter to pull all information from 5 epics. I manage to do that by using the "key = EPIC number" and choose key, summary, type, created, updated, due date, assignee, reporter, proority, status, resolution. its works.

Now, I am thinking if I can allow x number of last comments per User story

1 answer

1 accepted

2 votes
Answer accepted

Hi @Jimmy 

Not natively; the Jira Issue/Filter macro is showing fields which are available as column data - there isn't a comment field as such.

We've gotten around this before using a custom field and automation - for example, we created a field called Last Comment:

  • Create a custom paragraph field, called Last Comment - it doesn't need to be on a screen
  • Create an Automation Rule to run whenever a comment is added, adding the last comment made into the custom field
  • Visualise this in Confluence, as a field selected in the macro

You could do something similar in your scenario.

I'd consider whether the last 5 comments is necessary though - if they're looking at that many, wouldn't it be easier to just click-through and look at the Issue itself?


Thanks so much. Yes, seem like the easier way is to click through and look at the issue in Jira. 

Looking to display the last 3-5 comments on a JIRA Dashboard.. Currently displaying the last comment in a field called "Last Comment"


Hi @Jim Sheedy 

It's possible - an alternative to the above smart value for last comment is...


...but, you can change the "(0)" to get other comments also. So for example...

  • (1) - second to last comment
  • (2) - third from last comment
  • ...etc

It's dynamic so will update as you add more comments.

You'll still need to visualise the data though - so either a field per comment, or one multi-text field for all 3-5 comments.


Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events