It's all about the answers!

Ask a question

How to get artifacts from module via REST including context-sensitive links


Soeren Schilling (1113) | asked Apr 28 '17, 10:06 a.m.
edited Apr 29 '17, 1:27 p.m. by Geoffrey Clemm (30.1k33035)

I am querying the requirements of a module via https://JAZZSERVER/rm/publish/resources?moduleURI=XYZ

The returned data are not including the base artifacts links since they are context-sensitive, see https://jazz.net/forum/questions/226616/when-requirement-link-satisfy-or-satisfy-by-between-artifacts-of-two-modules-is-created-reverse-link-in-the-view-is-not-visible-from-second-module-if-we-link-artifacts-by-entering-into-folders

However, using the web-interface you can simply click the "Include links, tags, and comments from base artifacts"-Button and links will be loaded - but is there any way to get this effect in the above query?
Something like https://JAZZSERVER/rm/publish/resources?moduleURI=XYZ&displayBaseProperties=true  ???


Comments
Robert Huet commented Mar 07 '18, 4:45 p.m.

Wow, that is exactly what I am looking for as well.  Otherwise, you have to make a separate call for each of the elements in the module to get it's base artifact links.  For a large module, that adds a huge amount of overhead.

Be the first one to answer this question!


Register or 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.