Hi,
I'm trying to perform an API call in order to get information specifically about issue changes history within a defined timestamp-for example last 24 hours.
I'm using currently this:
jira/rest/api/2/issue/API-1?expand=changelog
but of course in this case, since no filter regarding the required period of time in which changes were occurred defined, I'm getting the whole history log.
May someone assist me with that?
Thanks
Adiel
Hi @Adiel Segal ,
I may not be the best person to answer this question but I believe you can achieve something similar by using the /rest/api/2/search endpoint together wit the JQL described in the below threads:
Please review above 2 threads and let me know if they help.
Cheers,
Dario
Hello Dario,
Thank you for the info, but it still doesn't seem to help me with solving my specific issue.
I need to have the ability to track historical changes in specific custom fields during a period of time(last 24 hours), but as described here:
only specific fields are enabled to be tracked.
the other option is what I described initially-to get somehow relevant information specifically about issue changes history within a defined timestamp, parse the results and then "catch" relevant changes of fields I would like to track.
Thanks,
Adiel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adiel Segal ,
What you are trying to achieve is indeed not possible OOB.
There was a feature request open in our system to ask to have a REST API endpoint to retrieve historical data but it looks like it has been closed yesterday due to limited demand:
There is also another feature request still open, asking to add a REST API endpoint to get all changelog for an issue (ordered by time) like it has already been done for Jira Cloud:
At this point, you may want to:
I hope this helps.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.