# Querying an item in the context of the Global Configuration

**URL:** <https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464>\
**Category:** Lyo\
**Created:** [January 27, 2021, 12:00pm UTC](https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464 "2021-01-27T12:00:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anamr](https://forum.open-services.net/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@anamr](https://forum.open-services.net/u/anamr)\
**Post date:** [January 27, 2021, 12:00pm UTC](https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464/1 "2021-01-27T12:00:19Z")

</div>

Hello everyone,

I have tried to query a TestPlan from Jazz using lyo, but I observed that not all the properties that are visible in the Jazz interface are returned in the query response (to be more exact the properties related to other applications other than TM are not visible).

I discovered that I have to mention a configuration context in order to see the cross application links.  
To do this there are 2 possibilities:

- using the Configuration Context header
- using oslc\_config.context parameter

So I moved to Postman to test both of these possibilities (I saw that there is a possibility to mention the configuration context in lyo, but it was easier to see the responses in Postman). In the case of a TestPlan even when I used the context header or parameter, the query response was the same as when I was not using them.

I also tested this for a Requirement and I was surprised to see that both possibilities worked and I was able to see more properties than when I was not using the configuration context.

Do you have any idea why is working for RM but not for TM?

I know you might not be experts in Jazz and this might not be the right place to ask this question, but I also asked on [jazz.net](http://jazz.net) forum and no one gave me an answer until now and I thought maybe you could have an idea.

Thank you,  
Ana

---

<div class="post-metadata">

**Author:** ![rsjazz](https://forum.open-services.net/user_avatar/forum.open-services.net/rsjazz/32/89_2.png) [@rsjazz](https://forum.open-services.net/u/rsjazz)\
**Post date:** [February 2, 2021, 8:11am UTC](https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464/2 "2021-02-02T08:11:14Z")

</div>

Ana, there have been different teams developing the solution parts. Driven by constraints the APIs for DNG, ETM,… where not necessarily aligned. There is also a lack of documentation.

Having said that With respect to the API you are using. I am not completely sure you are using public OSLC API. E.g. I am not sure if the configuration context is documented as part of OSLC. I think there will be only very few people to give you a good answer.

---

<div class="post-metadata">

**Author:** ![DavidJHoney](https://forum.open-services.net/user_avatar/forum.open-services.net/davidjhoney/32/190_2.png) [@DavidJHoney](https://forum.open-services.net/u/DavidJHoney)\
**Post date:** [February 3, 2021, 11:09am UTC](https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464/3 "2021-02-03T11:09:42Z")

</div>

The Configuration-Context header and oslc\_config.context query parameter are both described in the OSLC Configuration Management specification. The use case for them is when performing a GET on a concept resource where the configuration context is used to resolve the concept resource to the version resource selected in that configuration context. As to why this works with DOORS Next but not Engineering Test Manager, that’s a question for the ETM development team who are unlikely to monitor this forum, but may respond on [jazz.net](http://jazz.net). If you don’t get a response there, you might want to pursue this through IBM Rational technical support.

---

<div class="post-metadata">

**Author:** ![anamr](https://forum.open-services.net/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@anamr](https://forum.open-services.net/u/anamr)\
**Post date:** [February 5, 2021, 6:59am UTC](https://forum.open-services.net/t/querying-an-item-in-the-context-of-the-global-configuration/464/4 "2021-02-05T06:59:11Z")

</div>

Thank you very much for your responses!
