Release Automation

 View Only
  • 1.  Can we fetch deployment reports per project in RA?

    Posted Jul 26, 2018 08:50 AM

    Is there a possibility to fetch a report which can:

    Display number of deployments per project in RA?



  • 2.  Re: Can we fetch deployment reports per project in RA?
    Best Answer

    Broadcom Employee
    Posted Jul 26, 2018 09:29 AM

    Hi Saurabh,

     

    I just tried using this rest api call via curl and it looks like it returned the data you might be looking for. Note that you will need to tailor it to use an appropriate project id from your environment.

     

    Reports Based On Project ID Rest API Call:
    http://myraservername:8080/datamanagement/a/reports/releasesReports?fromIndex=0&toIndex=50&reportType=ALL&advanced=RELEASE_DATE~-1_-1_604800000&advanced=PROJECT_ID~8607000&advanced=RELEASE_STATE~CANCELED&advanced=RELEASE_STATE~FAILED&advanced=RELEASE_STATE~FINISHED&

     

     

    To get project ID's you can run the rest api call:

    http://myraservername:8080/datamanagement/a/api/v4/applications/4452000/projects  

     

     

    The rest api call to get projects will need a valid application id. To get that you ca run this rest api call:

    http://myraservername:8080/datamanagement/a/api/v4/applications?only_active=true

     

    I hope this helps. 

     

    Cheers,

    Gregg



  • 3.  Re: Can we fetch deployment reports per project in RA?

    Broadcom Employee
    Posted Jul 30, 2018 02:02 AM

    Hi Saurabh,

     

    Did Gregg's answer cover your question?

    If yes, please mark Gregg's answer. If no, please tell us further requirement and your attempts.

     

    Thanks

    Yas