Hi
this query shows all comments in all Jira's in a project via API.
How can I limit that to only cases that are not resolved ?
https://jnjiraportal.sif.jndata.net/rest/api/2/search?jql=project=NETWORK&fields=comment
And if it is possible to get only the latest comment?
On a standard project configuration, you should be able to accomplish this by adding this to your JQL:
resolution=Unresolved
So, in your case:
PROJECT=NETWORK AND resolution=Unresolved
You may need to URL encode that (ex: spaces to %20, etc.)
And if it is possible to get only the latest comment?
Good question.. not sure how to do that. Perhaps someone else can chime whether or not you can sort by last comment date, and perhaps limit it to 1 result?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.