•  
      request #16586 Get updated artifacts after given date
    Infos
    #16586
    Theo Seohs (seohs.theo)
    2023-07-07 13:40
    2020-08-21 16:18
    17893
    Details
    Get updated artifacts after given date
    Hi,

    Is there a way to retrieve artifacts via API specifying a given date as a search criteria? I have a date and I would like to retrieve the artifacts that have been updated since that date.
    What is the correct renderer and query to use and retrieve them via API call? Could you please give me an example?

    Thank you very much.
    API
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar

    For such thing, I use the expert query like last_modified_on > now() - 7d on GET /tracker_reports/{id}/artifacts

    PS: issue should be closed

    User avatar

    Hello,

    You can create the tracker report you want with your date and then retrieve the corresponding artifacts with the REST endpoint GET /tracker_reports/{id}/artifacts (where id is the tracker report id).