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,294,582
Community Members
 
Community Events
165
Community Groups

How to retrieve the latest comment in jira using JQL?

Hi,

I have a requirement that i have to retrieve always the latest comment from JIRA tickets which i am querying using JQL

sample query which i am using right now is as follows---

project = ABC AND issuetype = bug OR project = "project1 " AND
issuetype = Bug AND component = "component_1"
OR labels in (cloud_bug) AND labels in (data_united)

Kindly Help us on this and provide some tips/hints in getting the latest comment using JQL.

Regards,

Lakshmi

3 answers

0 votes
John M Funk Community Leader Apr 09, 2020

Hi @Lakshmi Prasanna  - Welcome to the Atlassian Community!

You might find this previous post helpful, also:

https://community.atlassian.com/t5/Jira-Software-questions/JQL-Query-to-Display-Last-Comment/qaq-p/999310

Like John M Funk likes this
John M Funk Community Leader Jun 08, 2022

@Lakshmi Prasanna  - Did this answer your question?

0 votes

Currently is it not possible to retrieve the lastComment field using JQL, you must go for a third-party app instead.

See Simple Last Comment for Jira which is currently FREE

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
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,227 views 35 44
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