It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA API - Get issue's comments newer than

Deleted user Nov 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 Nov 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

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