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

ModifiedSince Not Working with moduleURI in Reportable REST API (DOORS Next)

I am facing an issue with the Reportable REST API in DOORS Next. When I include the moduleURI along with the ModifiedSince parameter, the filter doesnot work correctly.

Version: 7.0.2

API:
https://jazz.com/rm/publish/resources?projectURI=_iWoZIEAqEe6pf8NLBW8Ozg&moduleURI=MD_OOHukDk3Ee-jWfNgcH-5Sg&attributeURI=AD_mfKOYE8hEe-80ff3rHyKWw&size=5&pos=0&modifiedSince=2025-01-21T00:00:00.000Z

Headers:
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
vvc.configuration: https://jazz.com/rm/cm/stream/_ZtnSwFDHEe-80ff3rHyKWw

With projectURI only, the ModifiedSince filter works correctly and returns the expected results.

Questions:

  1. Is this a known issue or a limitation?
  2. Do I need to add any additional parameters for the filter to work with moduleURI ?

Any help would be appreciated.

0 votes

Comments

"doesnot work correctly." - please give some detail of what's wrong with the response that you don't think is correct



3 answers

Permanent link

Documentation: https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI

I am not an expert for that API my thoughts:

Please note that the Reportable REST API is not an OSLC API, you will notice that the header OSLC-Core-Version is not valid and should not be used.
oslc_config.context can be provided as the configuration management resource it is the only thing that hints into OSLC.

Please note that an URI is a valid URL e.g. https://elm.example.com:9443/rm/process/project-areas/_cOrckM9TEe-lNcbLah5K4w and not only the UUID _cOrckM9TEe-lNcbLah5K4w .
Note that the parameters like the project area URI need to be URL Encoded e.g. look like https%3A%2F%2Felm.example.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_cOrckM9TEe-lNcbLah5K4w

The modifiedSince also needs an URL encoded time e.g. modifiedSince=2025-01-21T00%3A00%3A00.000Z

0 votes

Comments

Thanks for your response. I tried using the URL for both the project and module parameters and also removed the OSLC-Core-Version header, but without success. Since I'm using Postman, it should take care of encoding the parameters. As I mentioned, when I send a request with the Project URI alone, it returns a proper response.


Permanent link

Hello Ian Barnard, it's returning all the artifacts in that module without filtering based on the date. However, when I remove the  moduleuri  parameter, it returns a proper response based on the selected date.

0 votes

Comments

Please don't comment using an answer - you may be able to convert this answer to a comment on your question, or delete and recreate as a comment.


Permanent link

Combining moduleURI and modifiedSince seems to work for me, using 7.1, reducing the returned results as I move the date forwards, although I haven't added attributeURI into the mix. Did you try without attributeURI?


However note that, as documented in DNGReportableRestAPI < Main < TWiki , modifiedSince is only really intended for the DCC ETL to update the data warehouse, i.e. not for report generation.

0 votes

Comments

I already tried without attributeURI, but no success. Also, I'm using version 7.0.2, not 7.1. Do you think the version difference could be responsible for this issue?

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
× 11,083

Question asked: Jan 22 '25, 8:39 a.m.

Question was seen: 1,297 times

Last updated: Feb 03 '25, 6:40 a.m.

Confirmation Cancel Confirm