Support

 View Only
  • 1.  How to get items grouped by date

    Posted 12-15-2021 20:05
    Edited by Akramjon Mamasoliev 12-16-2021 00:12
    Hello. As far I know, /items endpoint is used to fetch all items in a specific project. Is there a way to fetch all items grouped by the created date? Something similar to the below:
    {
    "2021-01-23": {
    items: [Item, Item, Item ...],
    count: 12
    },
    "2021-01-25": {
    items: [Item, Item, Item ...],
    count: 5
    },
    }
     

    If yes, is it possible to fetch items in a specific date range ( for instance, between 2021-01-01 and 2021-06-31) ?

    Thank you in advance.

    ------------------------------
    Akramjon Mamasoliev
    Slexn
    ------------------------------


  • 2.  RE: How to get items grouped by date

    Posted 12-16-2021 17:12
    Edited by Carly Rossi 12-16-2021 17:15
    Hi Akramjon, 

    Welcome to the community, and thanks for posting this -- you can absolutely fetch all items from a specific date range by using
    GET /abstractitems

    For more information about each of the operations of the abstractitems endpoint, please visit Jama REST API. The Jama API Cookbook is a good resource as well!

    I hope this helps, and please let us know if you have any other questions. 

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------



  • 3.  RE: How to get items grouped by date

    Posted 12-20-2021 17:02
    Thank you @Carly, I will try it.​

    ------------------------------
    Akramjon Mamasoliev
    Slexn
    ------------------------------