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,298,660
Community Members
 
Community Events
165
Community Groups

JQL to get comments posted within a date range (worklogDate but with comments)?

Hi all,

I'm having fun with Forge and I can retrieve issues that current user has added a worklog to within a given date range.

/rest/api/3/search?fields=summary,worklog&jql=project IN("MY-PROJECT","PROJECT-TWO") AND worklogDate >= startDate AND worklogDate <= endDate

I'd like to do the same with comment dates but all I can find in advanced search reference - JQL fields  is the ability to search text in comments.

Am I out of luck for now since there's no commentDate field to search on?

Thanks!

1 answer

Hi @Jools

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.


With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

 

You can use this query to filter your issues that were commented between  2022/03/13 and 2022/06/17

 

commentedOnDate >= "2022/03/13" AND commentedOnDate < "2022/06/17" 

 

Check out the documentation for more examples.
I hope this helps!
Maurício

I see, thanks Mauricio!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
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,890 views 37 49
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