It's all about the answers!

Ask a question

Use reportable API tp load view with saved filter applied in DOORs NG


Dmitry A. Lesin (21012644) | asked Jul 19 '17, 1:46 p.m.

Hello!
I created a filter which can choose requirements of some type and show the values of a custom attribute. It looks like next:



ID2 here is a custom attribute. I would like to load this view by a link from Reportable API like next one:

https://jazz.server.com:9443/rm/publish/text?viewName=myview&projectName=testProject
This link works but loads a standard view without my custom attribute. Accordingly, there's a question which I can not answer without somebody's help. Can I point saved filter in Reportable API request to load the view's data with custom field ID2?
I will very much appreciate for the help! Thank you!


Comments
Dmitry A. Lesin commented Jul 19 '17, 1:50 p.m.

Sorry, I work in Rational DOORs Next Generation v6.0.3
Reportable API is taken from here:

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

I used a lot of variants but it didn't help me solve the problem.

Accepted answer


permanent link
Subramanya Prasad Pilar (3.3k13) | answered Jul 19 '17, 1:55 p.m.
edited Jul 19 '17, 1:59 p.m.

I am afraid you cannot do this with DNG 6.0.3.
If you are using DNG 6.0.4 or later, you must use moduleURI, viewURI and projectURI parameters in the reportable URL. Note that you can request only for modules views and not artifacts views.
https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest

Dmitry A. Lesin selected this answer as the correct answer

Comments
Dmitry A. Lesin commented Jul 25 '17, 11:03 a.m. | edited Jul 25 '17, 11:07 a.m.

It's not exactly that I was looking for but it can be used as a workaround. But apperantly, there's no possibility to get the data for a saved filter in artifact's view with Reportable API. Only saved filter for a module's view can be extracted. Anyway, I can set the answer as a correct, may be it will be useful for somebody else.

Thank you!

Your answer


Register or to post your answer.