# Problem v2 API entityTags

**URL:** <https://community.dynatrace.com/t/problem-v2-api-entitytags/42404>\
**Category:** Dynatrace API\
**Tags:** tagging, dynatrace-api\
**Created:** [November 1, 2023, 11:59am UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404 "2023-11-01T11:59:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaryWG](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@GaryWG](https://community.dynatrace.com/u/GaryWG)\
**Post date:** [November 1, 2023, 11:59am UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404/1 "2023-11-01T11:59:04Z")

</div>

The documentation says this about the entityTags property of a Problem

| **entityTags** | **[METag[]](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/problems-v2/problems/get-problems-list#definition--METag)** | **A list of all entity tags of the problem** |
| --- | --- | --- |

So, does this mean it will contain the tags for a rootCauseEntity and/or the affectedEntities and/or the impactedEntities?

If I have a Problem with a rootCauseEntity and a couple of affectedEntities, will this contain the tags from ALL the entities listed in the Problem record, or what?

Thanks

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 1, 2023, 12:13pm UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404/2 "2023-11-01T12:13:08Z")

</div>

I believe so. I had the situation before and even posted about it, from the Entities perspective: [https://community.dynatrace.com/t5/Open-Q-A/Event-types-and-applicable-Dynatrace-entities-Impact-Level/m-p/211548](https://community.dynatrace.com/post/211548)

I had to stick with v1 at the time, but I have the impression it was solved since, as in the documentation now. Just can’t get the links to prove it; when I get it, I’ll post it here.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 1, 2023, 12:26pm UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404/3 "2023-11-01T12:26:50Z")

</div>

[@GaryWG](https://community.dynatrace.com/user/21606)should have tried it out first 😁

I can confirm you get the full list of entity tags. I just checked a problem with a webservice & database involved. They have different tags, and both appear in the v2 API&nbsp;entityTags result :dynaspin:

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 1, 2023, 12:50pm UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404/4 "2023-11-01T12:50:33Z")

</div>

It should be that these tags will be included in the problem&nbsp;:blush:

---

<div class="post-metadata">

**Author:** ![GaryWG](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@GaryWG](https://community.dynatrace.com/u/GaryWG)\
**Post date:** [November 1, 2023, 1:08pm UTC](https://community.dynatrace.com/t/problem-v2-api-entitytags/42404/5 "2023-11-01T13:08:55Z")

</div>

Thanks&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

I’ve been “Trying it out” for days! I’ve been waiting for a problem to be triggered that contains multiple entities with different tags, but as we are still very much at the beginning of our journey here, it’s a challenge to know how to do some of these things 🙂

But thanks for confirming for me.
