JIRA API - Get issue's comments newer than

Deleted user November 28, 2019

How do I get comments for a specific issues using API that are newer than my selected date?

/rest/api/latest/issue/<my issue id>/comment

That is how I get my comments, each comment has a field "updated" by which I'd like to filter what I need. I tried adding &updated>="<some date>". I have no idea how to use JQL properly but tried this

/rest/api/latest/search?jql=issue=<some issue id>%26updated>="2019-11-20 11:00"

and also nope. My last resort would be to just get all the comments in Java and filter them out myself but hopefully there is better way.

Thank you

1 answer

1 accepted

1 vote
Answer accepted
Neil
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 30, 2019

Hi @[deleted] - I do not believe that JQL functionality exists (to search/filter comments by date). See: https://jira.atlassian.com/browse/JRASERVER-44498

Side note, if you do have development related questions, be sure to check out the Developer Community at https://community.developer.atlassian.com.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events