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



2 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

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,948

Question asked: yesterday

Question was seen: 47 times

Last updated: 3 hours ago

Confirmation Cancel Confirm