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

Automation: How to get number of comment on an issue?


I want to capture through Automation, how much comments an issue has? 

Is it possible to get a number as output for Advance Compare Condition in Jira Automation.

Thanks for help in advance.

Bhavin Acharya.

1 answer

1 accepted

4 votes
Answer accepted
Mohamed Adel Community Leader May 23, 2021

Hi @Bhavin Acharya 

You can use {{issue.comments.size}} and for detailed reference please visit Smart values - lists

Ismael Jimoh Community Leader May 23, 2021

The above should is the answer here.

Thanks @Mohamed Adel .

Like Mohamed Adel likes this
Like Mohamed Adel likes this

How did you create the automation? It worked?

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,840 views 37 48
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