Support

Expand all | Collapse all

Activity Log in Jama API (DAO)

  • 1.  Activity Log in Jama API (DAO)

    Posted 11-24-2015 10:02
    Does anyone know how to retrieve an activity log through velocity custom report (DAO)? Something that is already available through the Activity endpoint in REST API.


  • 2.  Re: Activity Log in Jama API (DAO)

    Posted 11-24-2015 11:41


  • 3.  RE: Re: Activity Log in Jama API (DAO)

    Posted 10-26-2019 09:51
    Edited by Mike Mattinson 10-26-2019 09:54
    I am looking for any documentation on:
    • documentdao
    • userdao
    • nodedao
    • versiondao
    • etc.
    I am creating Velocity reports and need to access elements in these DAOs:
    set( $docDao = $applicationContext.getBean("documentDao"))
    #set( $relDao = $applicationContext.getBean("relationshipDao"))
    #set( $relTypeDao = $applicationContext.getBean("relationshipTypeDao"))
    #set( $contourItemDao = $applicationContext.getBean("contourItemDao"))
    #set( $verDao = $applicationContext.getBean("versionDao"))
    #set( $documentTypeFieldDao = $applicationContext.getBean("documentTypeFieldDao"))
    #set( $docNodeDao = $applicationContext.getBean("documentNodeDao"))
    ##set( $projectDocIds = $contourItemDao.getContourItemIdsForProject($mathTool.toInteger($project.id)))
    #set ($userDao=$applicationContext.getBean("userDao"))

    The link in this discussion was hopeful but the link doesn't work for me. Where can i find this documentation? I feel like this should be included in the Custom Report user guide but it is not there and there is no link to the information that i can find. Thanks

    ------------------------------
    Mike Mattinson
    Leidos
    Orlando FL
    781-698-6491
    Mike
    ------------------------------



  • 4.  RE: Re: Activity Log in Jama API (DAO)

    Posted 10-26-2019 10:19
    Edited by Mike Mattinson 10-26-2019 10:22
    I think i found it http://velocity.jamasoftware.com/latest/ProxiedVelocity/
    What I found is that is is not called "documentDAO" any longer, it is now called "documentSource"...  Ok, nice to know... now to change all of my .vm files without breaking them...

    Also found this on the Git library... https://github.com/JamaSoftware/velocity-report-updater/blob/master/report-updater.sh

    Please update and provide a new Custom Velocity Report user guide that uses the new "documentSource"

    ------------------------------
    Mike Mattinson
    Leidos
    Orlando FL
    781-698-6491
    Mike
    ------------------------------



  • 5.  RE: Re: Activity Log in Jama API (DAO)

    Posted 10-28-2019 15:20
    Edited by Chloe Elliott 10-28-2019 15:22
    Hello @Mike:

    Here is the Velocity FAQ to help give some scope around the changes. We created data sources that group the methods used in reports into related domains. Makes everything much easier, and to update your current reports it's a simple find and replace; which is why we made the script. You can see the chart at the very end of this linked document which shows what I am talking about.

    Best,​

    ------------------------------
    Chloe Elliott
    Jama Software
    Portland OR
    ------------------------------



  • 6.  Re: Activity Log in Jama API (DAO)

    Posted 11-24-2015 15:56
    Tomek, I just granted you access to our REST API section in case further questions about REST come up.