Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can you filter by modified in DNG Reportable REST API history\changeLog?

Hi all,

I'm working in a DOORS Next 6.0.6.1 system and I am trying to do some forensic analysis on a module with about 6000 artefacts and a LOT of changes, many of which have been done via either ReqIF or Excel imports.

The Audit History page in the DNG Web UI takes for ever and shows about 5000 pages of changes, so I have now created an audit history report in RPE.

What I really need to do is filter the history changelog on the 'modified' attribute to narrow down the date range. I can do this inside the conditions of the report template, but this then means I still have to pull back all the data first. I was wondering if anyone knew if there was any sort of native filter that can be supplied to the REST call?


0 votes



2 answers

Permanent link
Hi Davyd, the REST API of DNG allows you to apply a filter by Modified date, for example: https://server:port/rm/publish/resources?modifiedSince=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

Please take a look at the API description: https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI for more details.

0 votes

Comments
Hi @Javier,

That filters artefacts that have been modified, it doesn't filter the changelog for the artefact.

So if you use the filter and ask for everything modified since yesterday, and you have an artefact that has 5000 modifications and was changed yesterday, you get all the changelog for that artefact, not just the stuff that happened yesterday


Permanent link
Hi @Davyd, have you tried with https://server:port/rm/publish/resources?history=true&resourceURI=<artifactURI>
? and if required you can also narrow by the modified parameters. There are more details about filtering parameters, formats, etc in https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI

0 votes

Comments

Hi @Javier, as mentioned before that's what I did and the modified parameter works on the artefact's modified date, not on the history.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936

Question asked: Mar 12 '20, 2:28 a.m.

Question was seen: 2,395 times

Last updated: Jul 24 '20, 8:25 p.m.

Confirmation Cancel Confirm